.callback-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: callback-pulse 2s infinite;
}

.callback-button:hover {
    transform: translateY(-3px);
    animation: none;
}

.callback-button i {
    font-size: 18px;
}

.callback-button-text {
    white-space: nowrap;
}

.callback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.callback-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.callback-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: 20px;
}

.callback-modal.active .callback-modal-content {
    transform: translateY(0);
}

.callback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.callback-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.callback-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.callback-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.callback-modal-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.callback-form .form-group {
    margin-bottom: 20px;
}

.callback-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.callback-form .form-group input,
.callback-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.callback-form .form-group input:focus,
.callback-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.callback-form .form-group input::placeholder,
.callback-form .form-group textarea::placeholder {
    color: #aaa;
}

.callback-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.callback-form .form-note {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    text-align: center;
    line-height: 1.4;
}

.callback-form .form-note a {
    color: var(--accent-color);
    text-decoration: underline;
}

.callback-submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.callback-submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.callback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.callback-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.callback-success i {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.callback-success h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.callback-success p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .callback-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .callback-button-text {
        display: none;
    }

    .callback-button i {
        font-size: 20px;
    }

    .callback-modal-content {
        margin: 15px;
        padding: 30px 20px;
    }

    .callback-modal-header h2 {
        font-size: 20px;
    }

    .callback-modal-header p {
        font-size: 13px;
    }
}
