﻿
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;    
}

.modal-overlay.active{
    display: flex;
}

.modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 24px 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
    text-align: center;
}

    .modal-header h2 {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 1px;
    }

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.modal-body {
    padding: 30px;
}

.greeting {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.description {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.section-title {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

    .checkbox-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #4a90e2;
    }

    .checkbox-item label {
        font-size: 15px;
        color: #333;
        cursor: pointer;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

    .form-row.full {
        grid-template-columns: 1fr;
    }

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group input,
    .form-group select {
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-style: italic;
        color: #666;
        transition: border-color 0.2s;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #4a90e2;
        }

.phone-group {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

    .country-code img {
        width: 24px;
        height: 16px;
    }

    .country-code select {
        border: none;
        background: transparent;
        font-size: 14px;
        cursor: pointer;
        padding: 0;
    }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    }

.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.signature {
    margin-top: 15px;
    font-style: italic;
}

.team-name {
    font-weight: 600;
    color: #333;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .modal {
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }
}
