/* =========================================
   CONTACT PAGE - Duplinexo
   ========================================= */

.field-input,
.field-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #121212;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.field-input::placeholder,
.field-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.field-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.field-error {
    display: block;
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

#topic-menu, #urgency-menu {
    transform-origin: top;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

#topic-menu.hidden, #urgency-menu.hidden {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0.85);
    pointer-events: none;
}

/* Animasi Zoom untuk Preview Gambar */
@keyframes zoomIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.6); opacity: 0; }
}

.animate-zoom-in {
    animation: zoomIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animate-zoom-out {
    animation: zoomOut 0.25s ease-in forwards;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-child {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #ffffff;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-summary:hover .faq-icon {
    background: #1e3a8a;
    border-color: #1e3a8a;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: #1e3a8a;
    border-color: #1e3a8a;
}

.faq-answer {
    padding: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 620px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #1a1a1a;
    border: 2px solid #1e3a8a;
    border-radius: 0.75rem;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: -6px 6px 0 #1e3a8a;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast svg {
    flex: 0 0 auto;
    color: #ffffff;
}

/* Channel Card Hover Effect */
.channel-card-inner {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.channel-wrapper:hover .channel-card-inner {
    transform: translateY(-8px);
    border-color: rgba(30, 58, 138, 0.5);
}

.channel-wrapper:hover .channel-icon {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

.channel-wrapper:hover .channel-button {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

/* Custom Scrollbar */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* FIX: Hapus tombol panah bawaan browser */
.custom-scrollbar::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    margin-block: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}