/* Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--card-bg);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: var(--bg-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography */
h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #16a34a;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Progress Bar */
.progress-bar {
    background-color: var(--border-color);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Pass Probabilities */
.pass-probabilities {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prob-card {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.prob-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.prob-bar {
    background-color: var(--border-color);
    border-radius: 6px;
    height: 24px;
    overflow: hidden;
}

.prob-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s;
}

.prob-90 .prob-fill {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.prob-80 .prob-fill {
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
}

.prob-60 .prob-fill {
    background: linear-gradient(90deg, var(--success-color), #4ade80);
}

.prob-value {
    font-weight: bold;
    font-size: 1.1rem;
    text-align: right;
}

.prob-90 .prob-value {
    color: #8b5cf6;
}

.prob-80 .prob-value {
    color: var(--primary-color);
}

.prob-60 .prob-value {
    color: var(--success-color);
}

.study-stats {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.study-stats p {
    margin-bottom: 0.25rem;
}

.study-stats strong {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .prob-card {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .prob-value {
        text-align: left;
    }
}

/* Dashboard Sections */
.dashboard-section {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* Lists */
.subject-list, .question-list {
    list-style: none;
}

.subject-list li, .question-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subject-list li:last-child, .question-list li:last-child {
    border-bottom: none;
}

.subject-list a, .question-list a {
    color: var(--text-color);
    text-decoration: none;
}

.subject-list a:hover, .question-list a:hover {
    color: var(--primary-color);
}

.count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--bg-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tag-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.tag-past-exam {
    background-color: #dbeafe;
    color: #1e40af;
}

.tag-no-past-exam {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Forms */
.form-section {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.form-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
input[type="number"],
textarea,
select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.inline-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.inline-form input[type="text"] {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-color);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background-color: var(--bg-color);
}

.data-table a {
    color: var(--primary-color);
    text-decoration: none;
}

.data-table a:hover {
    text-decoration: underline;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.theme-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.theme-card.importance-1 {
    border-left-color: var(--secondary-color);
}

.theme-card.importance-2 {
    border-left-color: var(--warning-color);
}

.theme-card.importance-3 {
    border-left-color: var(--danger-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.importance {
    color: var(--warning-color);
}

.card-summary {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Question Cards */
.question-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.question-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.question-card.past-exam {
    border: 2px solid var(--warning-color);
}

.question-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.question-number {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: bold;
}

.question-text {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.answer-section,
.rubric-section {
    margin-bottom: 1rem;
}

.answer-section summary,
.rubric-section summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 0;
}

.answer-text,
.rubric-text {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.attempt-section {
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.question-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Info Section */
.info-section {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.info-section p {
    margin-bottom: 0.5rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Content Section */
.content-section {
    margin-bottom: 1.5rem;
}

.content-box {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-box pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    margin: 0;
}

/* List Section */
.list-section {
    margin-bottom: 1.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    background-color: var(--card-bg);
    border-radius: 8px;
}

.empty-state a {
    color: var(--primary-color);
}

/* Tips Section */
.tips-section {
    background-color: #eff6ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.tips-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tips-section ul {
    margin-left: 1.5rem;
}

.tips-section li {
    margin-bottom: 0.5rem;
}

/* Subtitle */
.subtitle {
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

/* Section Description */
.section-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Theme List */
.theme-list {
    list-style: none;
}

.theme-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.theme-list li:last-child {
    border-bottom: none;
}

.theme-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.theme-list a:hover {
    color: var(--primary-color);
}

.theme-list .importance {
    color: var(--warning-color);
    font-size: 0.875rem;
}

/* Coverage List */
.coverage-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.coverage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.coverage-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.coverage-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.coverage-info a:hover {
    color: var(--primary-color);
}

.coverage-detail {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.coverage-bar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.coverage-bar {
    flex: 1;
    background-color: var(--border-color);
    border-radius: 4px;
    height: 12px;
    overflow: hidden;
}

.coverage-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

.coverage-fill.high {
    background-color: var(--success-color);
}

.coverage-fill.mid {
    background-color: var(--warning-color);
}

.coverage-fill.low {
    background-color: var(--danger-color);
}

.coverage-pct {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 45px;
    text-align: right;
}

@media (max-width: 768px) {
    .coverage-item {
        flex-direction: column;
        align-items: stretch;
    }

    .coverage-info {
        min-width: auto;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Nav User */
.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user .username {
    color: var(--text-muted);
}

.nav-auth {
    display: flex;
    gap: 0.5rem;
}

/* Email/Password input */
input[type="email"],
input[type="password"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Upload Section */
.upload-section {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-color);
    cursor: pointer;
    transition: border-color 0.2s;
}

input[type="file"]:hover {
    border-color: var(--primary-color);
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Error Message */
.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #fecaca;
    margin-bottom: 1rem;
}

/* Success Message */
.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
    margin-bottom: 1rem;
}

/* Study Mode Styles */
.study-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.study-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.subject-study-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subject-study-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 6px;
}

.subject-info h3 {
    margin: 0 0 0.25rem 0;
}

.subject-actions {
    display: flex;
    gap: 0.5rem;
}

.study-container {
    max-width: 800px;
    margin: 0 auto;
}

.study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.study-progress {
    flex: 1;
    max-width: 300px;
    margin-left: 1rem;
}

.study-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.theme-label {
    padding: 0.75rem 1rem;
    background-color: var(--bg-color);
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.question-display {
    margin-bottom: 1.5rem;
}

.question-display h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.question-text-large {
    font-size: 1.2rem;
    line-height: 1.8;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 6px;
}

.study-actions {
    text-align: center;
    padding: 2rem 0;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.answer-display {
    margin-bottom: 1.5rem;
}

.answer-display h3 {
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.answer-box,
.rubric-box {
    padding: 1rem;
    background-color: #f0fdf4;
    border-radius: 6px;
    border-left: 4px solid var(--success-color);
    margin-bottom: 1rem;
}

.answer-box p,
.rubric-box p {
    white-space: pre-wrap;
    margin: 0;
    line-height: 1.7;
}

.scoring-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.scoring-section h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.score-form {
    text-align: center;
}

.score-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.score-btn {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--card-bg);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-btn small {
    font-size: 0.6rem;
    font-weight: normal;
    margin-top: 0.25rem;
}

.score-btn:hover {
    transform: scale(1.05);
}

.score-0 { border-color: #dc2626; color: #dc2626; }
.score-0:hover { background-color: #fef2f2; }

.score-3 { border-color: #f97316; color: #f97316; }
.score-3:hover { background-color: #fff7ed; }

.score-5 { border-color: #eab308; color: #eab308; }
.score-5:hover { background-color: #fefce8; }

.score-7 { border-color: #22c55e; color: #22c55e; }
.score-7:hover { background-color: #f0fdf4; }

.score-10 { border-color: #2563eb; color: #2563eb; }
.score-10:hover { background-color: #eff6ff; }

.study-complete {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.complete-card {
    text-align: center;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.complete-card h1 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.complete-message {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.complete-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Subject List Cards (for past exams) */
.subject-list-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.subject-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subject-card-header h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.subject-card-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.subject-card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
    }

    .action-buttons {
        flex-direction: column;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .inline-form {
        flex-direction: column;
        align-items: stretch;
    }
}
