.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 9999;
}

.popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    width: 90%;
    max-width: 600px;
    border: 1px solid #D4AF37;
    border-radius: 8px;
    overflow: hidden;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.popup-header h3 {
    color: #fff;
    font-size: 20px;
}

.fechar-popup {
    background: none;
    border: none;
    color: #D4AF37;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popupForm {
    padding: 20px;
}

#popupForm .form-group {
    margin-bottom: 15px;
}

#popupForm .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#popupForm .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

#popupForm .form-group label {
    color: #fff;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

#popupForm input,
#popupForm textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
}

#popupForm select {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

#popupForm input:focus,
#popupForm select:focus,
#popupForm textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

#popupForm .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .popup-container {
        width: 95%;
    }
    
    #popupForm .form-row {
        flex-direction: column;
        gap: 15px;
    }
}