﻿.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: .3s fadeIn;
    overflow: hidden
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.popup-container {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    animation: .3s slideUp
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: 0 0;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

    .close-btn:hover {
        color: #000
    }

.popup-title {
    margin: 10px 0 25px;
    font-size: 24px;
    font-weight: 600;
    color: #333
}

.form-group {
    margin-bottom: 20px
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
        font-size: 14px
    }

    .form-group input {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
        transition: border-color .3s
    }

        .form-group input:focus {
            outline: 0;
            border-color: #06c
        }

.input-error {
    border-color: #dc3545 !important
}

.error-text {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px
}

.phone-input-group {
    display: flex;
    gap: 10px;
    position: relative
}

.phone-number-input {
    flex: 1
}

.turnstile-container {
    margin: 25px 0;
    display: flex;
    justify-content: center
}

.status-message {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    margin: 20px 0
}

    .status-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb
    }

    .status-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb
    }

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    color: #fff;
    background-color: #e43636
}

    .submit-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,102,204,.3)
    }

    .submit-btn:disabled {
        opacity: .6;
        cursor: not-allowed
    }
