﻿

.afmea-page{
    position:relative;
    z-index:1;

/* ================================
   Light Theme Overrides (Roboto)
   Matches second image: white bg, blue primary,
   Roboto font, muted text, and roomy spacing
   ================================ */

:root{
    --afmea-primary: #0d6efd;
    --afmea-primary-600: #0b5ed7;
    --afmea-bg: #ffffff;
    --afmea-surface: #ffffff;
    --afmea-text: #0f172a;
    --afmea-muted: #6b7280;
    --afmea-border: #e6e9ef;
    --afmea-radius: 12px;
    --afmea-spacing: 20px;
}

html, body {
    background: var(--afmea-bg);
    color: var(--afmea-text);
    font-family: 'Roboto', Arial, sans-serif;
}

.afmea-page{
    background: transparent;
    max-width:1100px;
    margin:24px auto;
    padding:32px;
}

.premium-shell{
    background: var(--afmea-surface);
    border:1px solid var(--afmea-border);
    border-radius:20px;
    padding:28px;
}

.brand-block h1,
.hero-copy h2,
.workspace-header h2,
.insight-card h3,
.table-toolbar h3{
    color:#000000;
}

.eyebrow,
.hero-kicker{
    color:#118aef;
}

.afmea-breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:16px;
    font-size:0.9rem;
}

.breadcrumb-link{
    color: #118aef;
    text-decoration:none;
    transition:color 0.2s ease;
    font-size:16px;
}

.breadcrumb-link:hover{
    color:var(--afmea-primary-700);
    text-decoration:none;
}

.breadcrumb-separator{
    color:#000000;
    opacity:0.6;
}

.breadcrumb-current{
    color:#000000;
}

.primary-btn{
    background: #118aef !important;
    color:#fff !important;
    box-shadow:0 6px 18px rgba(13,110,253,0.16);
    padding:10px 18px;
}

.primary-save-btn{
    background: #1e8845 !important;
    color:#fff !important;
    box-shadow:0 6px 18px rgba(13,110,253,0.16);
    padding:10px 18px;
    border-radius:5px;
    border:0;
    cursor:pointer;
    font-weight:600;
    transition:all 0.2s ease;
}

.secondary-addrow-btn{
    background:#ffffff;
    border:1px solid #1e8845;
    color:#1e8845;
    border-radius:5px;
    cursor:pointer;
    font-weight:600;
    transition:all 0.2s ease;
}

.export-btn{
    background:#ffffff;
    border:1px solid #1e8845;
    color:#1e8845;
    border-radius:5px;
    cursor:pointer;
    font-weight:600;
    transition:all 0.2s ease;
}

.primary-btn.loading,
.ghost-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.button-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background-image: url('loading.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.15s ease;
    vertical-align: middle;
}

.primary-btn.loading .button-spinner,
.ghost-btn.loading .button-spinner,
#loginSubmitBtn.loading .button-spinner,
#logoutBtn.loading .button-spinner,
#registerSubmitBtn.loading .button-spinner {
    opacity: 1;
}

.secondary-btn,
.ghost-btn,
.tab-btn{
    background:#ffffff;
    border:1px solid #118AEF;
    color:#118AEF;
}

.premium-auth-card,
.insight-card,
.project-card,
.table-card{
    background:var(--afmea-surface);
    border:1px solid var(--afmea-border);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.premium-hero .hero-copy{
    background:var(--afmea-surface);
    border:1px solid var(--afmea-border);
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.about-afmea .hero-copy{
    background:var(--afmea-surface);
    border:1px solid var(--afmea-border);
    gap: 20px;
    display: flex;
    flex-direction: column;
}


.workspace-shell{
    background:var(--afmea-surface);
    border:1px solid var(--afmea-border);
}

.hero-text,
.auth-headline p,
.workspace-copy,
.insight-card p{
    color:#000000;
    font-size:16px;
}

.text-afmea{
    color:#000000;
    font-size:16px;
}

.auth-form label,
.project-grid label{
        color: var(--afmea-muted);
        text-transform: none;
        font-weight: 500;
        font-size: 0.95rem;
}

.auth-form input,
.auth-form textarea,
.project-grid input,
.project-grid textarea,
.fmea-table textarea,
.fmea-table select{
    background:#ffffff !important;
    color:var(--afmea-text) !important;
    border:1px solid var(--afmea-border) !important;
    box-shadow:0 1px 2px rgba(16,24,40,0.04);
    padding:12px 14px;
    border-radius:5px;
}


.fmea-table input{
    background:#ffffff !important;
    color:var(--afmea-text) !important;
    border:1px solid var(--afmea-border) !important;
    padding:12px 14px;
    border-radius:5px;
}

.project-grid textarea {
    min-height: 134px;
}

.auth-form input::placeholder,
.project-grid input::placeholder,
.project-grid textarea::placeholder{
    color:#9ca3af;
}

.workspace-badge{
    background:#0f766e !important;
    border:1px solid rgba(13,110,253,0.10) !important;
    color:#ffffff !important;
}

.stat-chip{
    background:#fff !important;
    border:1px solid var(--afmea-border) !important;
    color:var(--afmea-text) !important;
    box-shadow:0 6px 14px rgba(15,23,42,0.04);
}

.fmea-table th{
    background:#f8fafc !important;
    color: #000000;
    border-bottom:1px solid var(--afmea-border) !important;
    position: relative;
}


/* Style select fields inside the table body to look like premium dropdowns */
.fmea-table tbody select,
#fmeaBody select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: linear-gradient(180deg,#ffffff,#f8fafc) !important;
    border:1px solid var(--afmea-border) !important;
    padding:8px 36px 8px 12px !important;
    border-radius:999px !important;
    box-shadow:0 6px 18px rgba(15,23,42,0.06) !important;
    font-weight:600 !important;
    color:var(--afmea-text) !important;
    min-width:120px;
    height:40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%236b7280' d='M5 7l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
}

.fmea-table tbody select:focus,
#fmeaBody select:focus{
    outline: none !important;
    border-color: var(--afmea-primary) !important;
    box-shadow:0 10px 28px rgba(13,110,253,0.12) !important;
}

/* General/premium dropdown styles for selects across the plugin */
.afmea-page select,
select.premium-select,
.premium-shell select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: linear-gradient(180deg,#ffffff,#fbfdff) !important;
    border:1px solid var(--afmea-border) !important;
    padding:10px 40px 10px 14px !important;
    border-radius:12px !important;
    box-shadow:0 6px 18px rgba(2,6,23,0.06) !important;
    font-weight:600 !important;
    color:var(--afmea-text) !important;
    min-width:160px;
    height:44px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%236b7280' d='M5 7l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 12px !important;
    transition: all 0.14s ease;
}

.afmea-page select:hover,
select.premium-select:hover{
    transform: translateY(-1px);
}

.afmea-page select:disabled,
select.premium-select:disabled{
    opacity:0.65;
    cursor:not-allowed;
}

.save-row-btn{ color:#fff !important; border-radius:3px !important; }
.add-row-btn{ background:var(--afmea-primary-600) !important; color:#fff !important; border-radius:10px !important; }

.afmea-toast{ color:#fff !important; }

@media (max-width:1024px){ .premium-hero{ grid-template-columns:1fr; } }
@media (max-width:767px){ .premium-header{ align-items:flex-start; flex-direction:column; } }

    max-width:100%;
    margin:0 auto;
    padding:24px;
}

.premium-shell{
    border:1px solid rgba(148,163,184,0.16);
    border-radius:32px;
    backdrop-filter:blur(10px);
    padding:24px;
}

.premium-header{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:16px;
    margin-bottom:24px;
}

.brand-block{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand-mark{
    width:34px;
    height:34px;
    border-radius:10px;
    display:grid;
    place-items:center;
    font-weight:800;
    color:#fff;
    background:linear-gradient(135deg, #22c55e, #06b6d4);
}

.brand-block h1{
    margin:0;
    font-size:1.05rem;
    color:#fff;
}

.eyebrow{
    margin:0 0 4px;
    color:#67e8f9;
    font-size:0.62rem;
    font-weight:800;
    letter-spacing:0.22em;
    text-transform:uppercase;
}

.auth-toolbar{
    display:flex;
    align-items:center;
    gap:10px;
}

.user-badge{
    display:flex;
    align-items:center;
    gap:8px;
    color:#e2e8f0;
    background:#0f766e;
    border:1px solid rgba(14,116,144,0.35);
    border-radius:999px;
    padding:10px 12px;
    font-size:0.72rem;
	min-width: 0;
    white-space: normal;
}

.user-badge span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.user-option-btn,
.add-row-btn{
    border-radius:5px;
    border:0;
    cursor:pointer;
    font-weight:700;
    transition:all 0.2s ease;
}

.tab-btn {
    border-radius:5px;
    border:0;
    cursor:pointer;
    font-weight:700;
    transition:all 0.2s ease;
}

.primary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    background:linear-gradient(135deg, #0f766e, #06b6d4);
    color:#fff;
    box-shadow:0 10px 30px rgba(14, 116, 144, 0.28);
}

.secondary-btn,
.tab-btn{
    padding:10px 14px;
    background:rgba(15,23,42,0.72);
    color:#e2e8f0;
    border:1px solid rgba(148,163,184,0.18);
}

.ghost-btn{
    background:rgba(239,68,68,0.18);
    border-color:rgba(248,113,113,0.4);
    color:#fecdd3;
    padding:6px 25px;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.tab-btn:hover,
.save-row-btn:hover,
.delete-row-btn:hover,
.add-row-btn:hover{
    transform:translateY(-1px);
}

.premium-hero{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:20px;
    margin: bottom 35px;
    padding: 20px;
}

.about-afmea{
    display:grid;
    gap:20px;
    margin: bottom 35px;
    padding: 20px;
}

.hero-copy,
.premium-auth-card,
.insight-card,
.workspace-shell,
.project-card,
.table-card{
    background:rgba(2, 6, 23, 0.68);
    border:1px solid rgba(148,163,184,0.16);
    backdrop-filter:blur(10px);
}

.hero-copy{
    border-radius:5px;
    padding:30px;
}

.hero-copy h1{
    margin:10px 0 14px;
    font-size:clamp(34px, 4.8vw, 34px);
    color:#000000;
    font-weight:600;
}

.hero-text{
    max-width:760px;
    color:rgba(255,255,255,0.72);
    font-size:1.02rem;
    line-height:1.6;
    margin:0 0 20px;
}

.text-afmea{
    color:rgba(255,255,255,0.72);
    font-size:1.02rem;
    line-height:1.6;
    margin:0 0 20px;
}

.hero-kicker{
    margin:0;
    color:#000000;
    font-size:0.9rem;
    letter-spacing:1px;
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin:20px 0 22px;
}

.stat-chip{
    border-radius:20px;
    padding:16px;
    background:rgba(15,23,42,0.72);
    border:1px solid rgba(148,163,184,0.14);
    display:flex;
    flex-direction:column;
    gap:6px;
}

.stat-chip strong{
    color:#000000;
    font-size:1.15rem;
}

.stat-chip span{
    color:rgba(0, 0, 0, 0.62);
    font-size:0.74rem;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.premium-auth-card{
    border-radius:5px;
    padding:40px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.auth-headline h3{
    margin:10px 0 22px;
    color:#000000;
    font-size:1.5rem;
}

.auth-headline p{
    margin:0;
    color:rgba(0, 0, 0, 0.66);
    line-height:1.5;
}

.auth-tabs{
    display:grid;
    grid-auto-flow: column;
    gap:25px;
}

.tab-btn.active{
    background:#118aef;
    border-color:transparent;
    color:#fff;
}

.auth-form{
    display:flex;
    flex-direction:column;
    gap:25px;
    padding-top:25px;
}

.auth-form label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#d0f2ff;
    font-size:0.72rem;
    text-transform:uppercase;
}

.auth-form input,
.auth-form textarea,
.project-grid input,
.project-grid textarea,
.fmea-table textarea,
.fmea-table input,
.fmea-table select{
    border-radius:5px;
    border:1px solid rgba(148,163,184,0.2);
    background:rgba(8,13,26,0.85);
    color:#fff;
    padding:12px 13px;
    font-size:0.92rem;
}

.auth-form input::placeholder,
.project-grid input::placeholder,
.project-grid textarea::placeholder,
.fmea-table textarea::placeholder{
    color:rgba(255,255,255,0.38);
}

.full-width{
    width:100%;
}

.auth-note{
    border-radius:5px;
    padding:12px 13px;
    background:#0e749012;
    border:1px solid rgba(14,116,144,0.34);
    color:#000000;
    font-size:0.72rem;
    line-height:1.4;
}

.premium-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-bottom:20px;
}

.premium-grid-afmea{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:20px;
}

.auth-user-panel {
    gap: 25px;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.workspace-intro {
    width:80%;
}

.about-afmea h2 {
    margin: 15px 0;
    font-size: 2.1rem;
    font-weight: 500;
}

.insight-card{
    border-radius:5px;
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.insight-heading{
    display:flex;
    align-items:center;
    gap:10px;
}

.insight-icon{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:linear-gradient(135deg, #118aef, #06b6d4);
    color:#fff;
    font-size:0.9rem;
}

.insight-card h3{
    margin:0;
    color:#fff;
    font-size:1.02rem;
}

.insight-card p{
    margin:0;
    color:rgba(255,255,255,0.62);
    line-height:1.5;
    font-size:0.9rem;
}

.workspace-shell{
    border-radius:30px;
    padding:20px;
    display:flex;
    flex-direction:column;
    gap:30px;
    position:relative;
}

.workspace-shell.loading{
    opacity:0.35;
    pointer-events:none;
}

.workspace-shell.loading::after{
    content:'Restoring saved project...';
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.92);
    color:#000000;
    font-weight:700;
    font-size:1rem;
    z-index:5;
}

.workspace-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.table-card {
    margin-top: 35px;
}

.sev-control {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sev-warning,
.rev-rpn-warning {
    color: #c53030;
    font-weight: 700;
    font-size: 0.55rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.rev-rpn-cell {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rev-rpn {
    font-weight: 700;
}

.rev-warning-icon {
    display: inline-block;
    margin-right: 0.35rem;
}
.workspace-header h2{
    margin:15px 0;
    color:#fff;
    font-size:2.1rem;
    font-weight:500;
}

.workspace-copy{
    margin:20px 0;
    color:rgba(255,255,255,0.62);
    line-height:1.4;
}

.workspace-badge{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    border-radius:999px;
    background: #0f766e;
    border:1px solid rgba(74,222,128,0.28);
    color:#ffffff;
    font-size:0.72rem;
}

.badge-dot{
    width:8px;
    height:8px;
    border-radius:999px;
    background:#22c55e;
    box-shadow:0 0 0 4px rgba(34,197,94,0.16);
}

.project-card,
.table-card{
    border-radius:5px;
    padding:40px;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-bottom:12px;
}

.project-grid.three-col-grid{
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:minmax(min-content,auto);
}

.project-grid.three-col-grid .row-span-2{
    grid-row: span 2;
}

.project-grid label,
.full-span{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#d0f2ff;
    font-size:0.78rem;
    text-transform:uppercase;
}

.full-span textarea{
    min-height:96px;
    resize:vertical;
}

.project-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:12px;
}

.helper-copy{
    color:rgba(255,255,255,0.54);
    font-size:0.74rem;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.dashboard-box{
    border-radius:5px;
    padding:18px;
    border:1px solid rgba(0, 0, 0, 0.15);
}

.dashboard-box p{
    margin:0;
    color:#000000;
    font-size:0.9rem;
    text-transform:uppercase;
}

.dashboard-box h3{
    margin:10px 0 0;
    font-size:2rem;
    color:#000000;
}

.total-box{ border-top:7px solid #22c55e; }
.high-box{ border-top:7px solid #fb7185; }
.medium-box{ border-top:7px solid #fbbf24; }
.low-box{ border-top:7px solid #67e8f9; }

.table-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:40px 0px;
}

.table-toolbar h3{
    margin:6px 0 0;
    color:#fff;
    font-size:1.35rem;
    font-weight:500;
}

.table-wrapper{
    overflow-x:auto;
    overflow-y:visible;
    position:relative;
    border-radius:5px;
}

.fmea-table{
    width:100%;
    border-collapse:collapse;
    min-width:3000px;
    border:1px solid rgba(148,163,184,0.25);
    color:black;
}

.fmea-table th{
    background:rgba(8,13,26,0.95);
    text-align:center;
    padding:14px 12px;
    font-size:0.8rem;
    text-transform:uppercase;
    position:sticky;
    top:0;
    z-index:2;
    border:1px solid rgba(148,163,184,0.2);
}

.fmea-table td{
    border:1px solid rgba(148,163,184,0.12);
    padding:10px;
    vertical-align:middle;
    text-align:center;
}

.fmea-table input,
.fmea-table select{
    font-size:0.78rem;
}

.fmea-table input{
    width:100%;
    border:none;
    background:transparent;
    color:var(--afmea-text);
    padding:8px 0;
    min-height:36px;
    text-align:center;
}

.fmea-table input:focus{
    outline:none;
}

.fmea-table select{
    width:100%;
    border:1px solid rgba(148,163,184,0.25);
    border-radius:999px;
    padding:8px 14px;
    background:#ffffff;
    color:var(--afmea-text);
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    text-align:center;
    box-shadow:0 6px 18px rgba(13,110,253,0.08);
}

.fmea-table textarea{
    min-height:70px;
    resize:vertical;
}

.high-risk{ background:#ff5f5f40; }
.medium-risk{ background:#fde04757; }
.low-risk{ background:#25ff7433; }

.risk-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:6px 10px;
    font-size:0.62rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.14em;
}

.high-badge{ background:rgba(244,63,94,0.24); color:#c32336; }
.medium-badge{ background:rgba(251,191,36,0.24); color:#bba033; }
.low-badge{ background:rgba(74,222,128,0.24); color:#22c55e; }

.add-row-btn{
    width:100%;
    padding:10px 12px;
    margin-top:6px;
}

.save-row-btn,
.delete-row-btn{
    width:100%;
    padding:5px 5px;
    margin-top:6px;
    font-size: 13px;
    font-weight: 500;
}


.save-row-btn{ background:linear-gradient(135deg, #059669, #22c55e); color:#fff; }
.delete-row-btn{ background:rgba(239,68,68,0.72); color:#fff; border-radius:3px; }
.add-row-btn{ border-radius:14px; padding:12px 16px; background:linear-gradient(135deg, #0f766e, #06b6d4); color:#fff; }

.afmea-toast{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;
    padding:12px 14px;
    border-radius:999px;
    color:#fff;
    font-size:0.74rem;
    font-weight:700;
    box-shadow:0 16px 40px rgba(0,0,0,0.3);
    opacity:0;
    transform:translateY(-10px);
    transition:all 0.25s ease;
}

.afmea-toast.show{ opacity:1; transform:translateY(0); }
.afmea-toast.success{ background:rgba(22,163,74,0.88); }
.afmea-toast.error{ background:rgba(239,68,68,0.88); }

@media (max-width:1024px){
    .premium-hero, .premium-grid, .project-grid, .dashboard-grid{ grid-template-columns:1fr; }
    .workspace-header{ align-items:flex-start; }
}

@media (max-width:767px){
    .premium-header{ align-items:flex-start; flex-direction:column; }
    .hero-stats{ grid-template-columns:1fr; }
    .project-actions{ align-items:flex-start; flex-direction:column; }
}

/* === Modern Gradient FAQ Accordion === */



.faq-container {
  width: 100%;
  padding: 10px 30px;
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-title {
  color: #1e1b4b;
  letter-spacing: -0.5px;
  text-align: left;
}

.faq-subtitle {
  font-size: 16px;
  color: #6b7280;
  font-weight: 400;
    text-align: left;

}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card */
.faq-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.faq-card:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.faq-card[open] {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(99, 102, 241, 0.25);
}

/* Trigger */
.faq-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: padding 0.3s ease;
}

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

.faq-card[open] .faq-trigger {
  padding-bottom: 12px;
}

/* Icon Box */
.faq-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-card[open] .faq-icon-box {
  background: linear-gradient(135deg, #118aef, #06b6d4);
}

.faq-svg {
  width: 20px;
  height: 20px;
  color: #6366f1;
  transition: all 0.3s ease;
}

.faq-card[open] .faq-svg {
  color: #fff;
}

/* Label */
.faq-label {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.4;
}

/* Chevron */
.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-chevron svg {
  width: 100%;
  height: 100%;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.faq-card[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-card[open] .faq-chevron svg {
  color: #6366f1;
}

/* Content */
.faq-content {
  padding: 0 22px 22px 76px;
  overflow: hidden;
  animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.75;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 300px;
  }
}/* === Simple Accordion FAQ Set === */

.accordion-faq {
  max-width: 640px;
  margin: 40px auto;
  padding: 0 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::marker {
  display: none;
}

/* Chevron Icon */
.faq-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 12px;
  position: relative;
}