/* Виджет обратного звонка */
.callback-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
}

.callback-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #10B981;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.callback-btn:hover {
    background: #059669;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.8);
    }
}

.callback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.callback-modal.active {
    display: flex;
}

.callback-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.callback-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-close:hover {
    color: #000;
}

.callback-form h3 {
    margin: 0 0 1.5rem 0;
    color: #1f2937;
}

.callback-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.callback-form input:focus {
    outline: none;
    border-color: #10B981;
}

.callback-submit {
    width: 100%;
    padding: 12px;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.callback-submit:hover {
    background: #059669;
}

.callback-success {
    display: none;
    text-align: center;
    color: #10B981;
}

.callback-success.active {
    display: block;
}

.callback-success svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}
