/* Modal / Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid #333;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
}

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

.close {
    color: #999;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #C9A961;
}

.modal-content h2 {
    color: #C9A961;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #C9A961;
}

.btn-submit {
    width: 100%;
    background-color: #C9A961;
    color: #000;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #b39551;
    transform: translateY(-2px);
}

.success-message {
    text-align: center;
    padding: 2rem;
    color: #4CAF50;
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
        margin: 10% auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}
