/* --- SIPANWA CONTACT HUB (CLIPBOARD & ID CARDS LAYOUT) --- */

.container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
}

/* Page Header styling */
.page-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: var(--border-width) solid var(--color-border);
}
.page-header .main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}
.page-header .main-title .highlight {
    color: var(--gold);
}
.page-header .sub-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}
.f1-status {
    color: #8ac926;
    background: rgba(138, 201, 38, 0.1);
    border: 1px solid #8ac926;
    padding: 2px 8px;
    border-radius: 4px;
}

.back-link {
    text-decoration: none;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform var(--transition-fast);
    display: inline-block;
    margin-bottom: 5px;
}
.back-link:hover {
    transform: translateX(-4px);
}

.contact-section {
    margin-bottom: 60px;
}

/* Section Headings */
.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}
.heading-text {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    text-transform: uppercase;
}
.heading-line {
    flex: 1;
    height: 2px;
    background: var(--color-border);
    opacity: 0.2;
}

/* Team Grid - ID Cards style */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* Staff Card styling */
.staff-card {
    background: var(--color-bg-surface);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-top {
    padding: 20px;
    background: var(--color-bg-raised);
    border-bottom: var(--border-width) solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color var(--transition-normal);
}
.staff-initial {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-bg-surface);
    border: var(--border-width) solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: normal;
    color: #2b2d42;
    box-shadow: var(--shadow-sm);
}
.role-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg-surface);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}
.staff-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.staff-role-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* WhatsApp chat button */
.wa-btn {
    text-decoration: none;
    text-align: center;
    background: var(--color-bg-surface);
    color: var(--white);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}
.wa-btn:hover {
    background: var(--gold);
    color: #2b2d42;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Staff Card Pastel Accents */
.staff-card.accent-blue .staff-initial { background: var(--accent-blue); }
.staff-card.accent-peach .staff-initial { background: var(--accent-peach); }
.staff-card.accent-green .staff-initial { background: var(--accent-green); }
.staff-card.accent-purple .staff-initial { background: var(--accent-purple); }
.staff-card.accent-red .staff-initial { background: var(--accent-red); }
.staff-card.accent-yellow .staff-initial { background: var(--accent-yellow); }

/* --- SECTION 2: DM FORM & TECH CONSOLE --- */
.form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 992px) {
    .form-container {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

/* Help Desk Memo pad */
.form-sidebar {
    background: var(--color-bg-surface);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.form-sidebar::before {
    /* Ring Binder top decoration */
    content: '';
    position: absolute;
    top: 10px;
    left: 10%;
    width: 80%;
    height: 6px;
    border-bottom: 2px dashed rgba(43, 45, 66, 0.2);
}
.form-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
}
.form-sidebar p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Live Telemetry Console styling */
.tech-console {
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.05);
}
.console-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.console-row span:first-child {
    color: var(--text-muted);
}
.status-ok {
    color: #8ac926;
    font-weight: 700;
}
.console-time-row {
    border-top: 1px dashed rgba(43, 45, 66, 0.1);
    padding-top: 8px;
    margin-top: 4px;
}

/* Lined Memo Form Panel */
.form-content {
    background: var(--color-bg-surface);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Styled Form controls */
.styled-input, .styled-select, .styled-textarea {
    width: 100%;
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-bg-raised);
    color: var(--white);
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.styled-input:focus, .styled-select:focus, .styled-textarea:focus {
    border-color: var(--gold);
    background-color: var(--color-bg-surface);
}
.styled-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b2d42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 35px;
}
body.dark-mode .styled-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f1f2f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Submit Send Button */
.send-btn {
    width: 100%;
    background: var(--gold);
    color: #2b2d42;
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.send-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* --- SECTION 3: FAQ ACCORDION --- */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--color-bg-surface);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 18px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    color: var(--white);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid rgba(43, 45, 66, 0.05);
    margin-top: -5px;
    padding-top: 15px;
}