/* CONTACT FORM MODAL - REVERSI THEME */

/* Contact Form Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-modal.show {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 29, 41, 0.85);
    backdrop-filter: blur(8px);
}

.contact-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.98) 0%, rgba(45, 80, 22, 0.95) 100%);
    border: 1px solid rgba(74, 140, 42, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-modal.show .contact-modal-content {
    transform: scale(1);
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(74, 140, 42, 0.2);
}

.contact-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.3px;
    flex: 1;
}

.contact-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
    border-radius: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.contact-modal-close:hover {
    color: #ffffff;
    background: rgba(74, 140, 42, 0.2);
}

.contact-modal-body {
    padding: 2rem;
}

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

.contact-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(74, 140, 42, 0.3);
    background: rgba(26, 29, 41, 0.4);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: rgba(74, 140, 42, 0.6);
    background: rgba(26, 29, 41, 0.6);
}

.contact-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 140, 42, 0.2);
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-btn-submit {
    background: linear-gradient(135deg, #3d7a1f 0%, #2d5016 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 140, 42, 0.3);
}

.contact-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #3d7422 0%, #234010 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 140, 42, 0.4);
}

.contact-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-btn-cancel {
    background: rgba(74, 140, 42, 0.15);
    border: 1px solid rgba(74, 140, 42, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.contact-btn-cancel:hover {
    background: rgba(74, 140, 42, 0.25);
    border-color: rgba(74, 140, 42, 0.5);
    color: #ffffff;
}

/* Success/Error Messages */
.contact-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-message.success {
    background: rgba(74, 140, 42, 0.2);
    border: 1px solid rgba(74, 140, 42, 0.4);
    color: #b8e994;
}

.contact-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .contact-modal-header,
    .contact-modal-body {
        padding: 1.5rem;
    }

    .contact-form-actions {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }
}
