/* Custom styles for the memory items app */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a101f;
    color: #e5e7eb;
}

/* This makes the .card from the new shell match the dark theme. */
main.app-main > .card {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

/* --- FIX for Hamburger Menu on this page --- */
/* The collapsing menu has a white background from styles.css.
   We need to force dark text color for its contents to be visible. */
.collapsing-menu {
    color: #111827; /* Dark text for readability on white background */
}

/* Style the premium button specifically within this menu */
.collapsing-menu .btn.premium-btn {
    background-color: #f59e0b; /* Amber/gold color */
    color: #ffffff;
    border: none;
}

.collapsing-menu .btn.premium-btn:hover {
    filter: brightness(1.1);
}
/* --- End Fix --- */


/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Main Checklist Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr; /* Remove icon column */
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem; /* Added horizontal padding */
    border-bottom: 1px solid #1f2937;
}
.step-item:last-child .content-grid {
    border-bottom: none;
}
.text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}
.step-title-col {
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    text-align: left;
}
.step-detail-col {
    font-family: 'Source Code Pro', monospace;
    color: #60a5fa; /* ECAM blue for details */
    font-weight: 700;
    text-align: right;
}
.step-title-col.full-width-col {
    grid-column: 1 / -1; /* Span both columns */
    text-align: left;
    text-transform: none;
}

/* Sub-steps */
.sub-steps-container {
    padding-left: 24px; /* Reduce indent since no icons */
}

/* Note Styling */
.step-type-note .text-container {
    grid-template-columns: 1fr;
}
.step-type-note .step-title-col {
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    grid-column: 1 / -1;
}

/* Condition Styling */
.step-type-condition > .content-grid {
    background-color: rgba(55, 65, 81, 0.2);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}
.step-type-condition > .content-grid .step-title-col {
    color: #cbd5e1; /* Normal color for condition headers */
}

/* Action Styling - Make important actions stand out */
.step-type-action .step-title-col {
    color: #f59e0b; /* Amber color for key actions */
}
.step-type-action .step-detail-col {
    color: #f59e0b; /* Match amber color */
}

/* Callout Styling */
.step-type-callout .content-grid {
    border: 1px solid #22d3ee;
    background-color: rgba(34, 211, 238, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}
.step-type-callout .step-title-col {
    color: #a5f3fc;
    text-transform: none;
}
.step-type-callout .step-detail-col {
    color: #a5f3fc;
    font-weight: 700;
    text-transform: uppercase;
}

/* Caution Styling */
.step-type-caution .step-title-col {
    color: #f59e0b;
}

/* ECAM-like title colors */
.title-warning { color: #ef4444; } 
.title-caution { color: #f59e0b; }
.title-ra { color: #f43f5e; } 
.title-normal { color: #60a5fa; }

/* Study Mode styles (from original file) */
.peer:checked ~ .study-mode-label { color: #f59e0b; }
.peer:not(:checked) ~ .review-mode-label { color: #60a5fa; }
.detail-span { transition: opacity 0.4s ease-in-out; }
.detail-hidden { opacity: 0; }
.detail-visible { opacity: 1; }
.step-item.is-complete .icon-container svg {
    stroke: #3b82f6; /* Blue for completed items */
}

/* Scenario Modal Styles (from original file) */
.modal-overlay { transition: opacity 0.3s ease; }
.modal-content { transition: transform 0.3s ease, opacity 0.3s ease; }