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

body {
    font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f4 100%);
    min-height: 100vh;
    padding: 20px;
    color: #032E4E;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f9f7f4;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
    border: 1px solid #e8e2db;
}

header {
    background: linear-gradient(135deg, #032E4E 0%, #1B5A7E 100%);
    color: #F2F6D0;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #D44167;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.05em;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.header-badge {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.65em;
    font-weight: 700;
    color: #032E4E;
background: #F2F6D0;
    padding: 4px 12px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    align-self: center;
}
/* TABS */
.tabs {
    display: flex;
background: #ffffff;
    border-bottom: 2px solid #D44167;
    gap: 0;
}

.tab-btn {
    flex: 1;
    padding: 18px 15px;
    border: none;
background: none;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    color: #032E4E;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85em;
}

.tab-btn:hover {
background: #E8E4DF;
    color: #D44167;
}

.tab-btn.active {
    color: #ffffff;
background: #032E4E;
    border-bottom-color: #D44167;
}

.tab-content {
    display: none;
    padding: 35px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STUDENT SECTION */
.student-section {
background: #f9f7f4;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e8e2db;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), 0 2px 5px rgba(0, 0, 0, 0.08);
}

.student-section h2 {
    margin-bottom: 20px;
    color: #032E4E;
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 15px;
    display: inline-block;
    width: calc(33.333% - 10px);
    margin-right: 15px;
}

.form-group:nth-child(3n) {
    margin-right: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #545677;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D44167;
    border-radius: 8px;
    font-size: 0.95em;
background: #ffffff;
    color: #032E4E;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #032E4E;
    box-shadow: 0 0 0 3px rgba(3, 46, 78, 0.1);
background: #ffffff;
}

/* YEARS GRID */
.years-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.year-card {
background: #f9f7f4;
    border: 1px solid #e8e2db;
    border-radius: 12px;
    padding: 22px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 3px 8px rgba(0, 0, 0, 0.08);
}

.year-card:hover {
    border-color: #D44167;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 5px 12px rgba(212, 65, 103, 0.15);
    transform: translateY(-2px);
}

.year-card h3 {
    color: #032E4E;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.courses-list {
    margin-bottom: 15px;
    min-height: 50px;
}

.course-item {
background: #ffffff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #D44167;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.course-item:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.course-info {
    flex: 1;
}

.course-name {
    font-weight: 600;
    color: #032E4E;
    font-size: 0.95em;
}

.course-details {
    font-size: 0.8em;
    color: #545677;
    margin-top: 3px;
}

.course-grade {
background: #032E4E;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    margin: 0 10px;
    font-size: 0.9em;
}

.course-delete {
background: #D44167;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.course-delete:hover {
background: #C03050;
}

/* BUTTONS */
.btn {
    padding: 11px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-add {
    width: 100%;
background: #545677;
    color: #ffffff;
    margin-top: 10px;
    border: 1px solid #3D3D50;
}

.btn-add:hover {
background: #3D3D50;
    box-shadow: 0 4px 10px rgba(84, 86, 119, 0.3);
}

.btn-primary {
background: #032E4E;
    color: #ffffff;
    border: 1px solid #021F32;
}

.btn-primary:hover {
background: #1B5A7E;
    box-shadow: 0 4px 10px rgba(3, 46, 78, 0.3);
}

.btn-secondary {
background: #D44167;
    color: #ffffff;
    margin-right: 10px;
    border: 1px solid #C03050;
}

.btn-secondary:hover {
background: #C03050;
    box-shadow: 0 4px 10px rgba(212, 65, 103, 0.3);
}

.btn-danger {
background: #545677;
    color: #ffffff;
    border: 1px solid #3D3D50;
}

.btn-danger:hover {
background: #3D3D50;
    box-shadow: 0 4px 10px rgba(84, 86, 119, 0.3);
}

/* SUMMARY STATS */
.summary-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
background: linear-gradient(135deg, #032E4E 0%, #1B5A7E 100%);
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e8e2db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-card h4 {
    font-size: 0.85em;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 2.2em;
    font-weight: 700;
}

/* ACTION BUTTONS */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #D44167;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 46, 78, 0.6);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
background: #f9f7f4;
    padding: 35px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid #e8e2db;
}

.close {
    color: #545677;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #032E4E;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #032E4E;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 1;
}

/* TRANSCRIPT */
.transcript-container {
    padding: 20px;
}

#transcriptOutput {
    margin-top: 20px;
background: #ffffff;
    border: 1px solid #e8e2db;
    border-radius: 12px;
    padding: 30px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.transcript {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #032E4E;
}

.transcript-header {
    text-align: center;
    border-bottom: 3px solid #032E4E;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.transcript-header h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #032E4E;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.transcript-header p {
    color: #545677;
    margin: 5px 0;
    font-size: 0.95em;
    font-weight: 600;
}

.transcript-info {
    margin-top: 15px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.transcript-info p {
    margin: 4px 0;
    font-size: 0.9em;
}

.transcript-section {
    margin-bottom: 30px;
    page-break-inside: avoid;
}

.transcript-section h3 {
    border-bottom: 2px solid #D44167;
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #032E4E;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.transcript-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.transcript-table thead {
    background-color: #f9f7f4;
    border-top: 2px solid #032E4E;
    border-bottom: 2px solid #032E4E;
}

.transcript-table th {
    padding: 10px 8px;
    text-align: left;
    font-weight: 700;
    color: #032E4E;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.3px;
}

.transcript-table td {
    padding: 8px;
    border-bottom: 1px solid #D44167;
}

.transcript-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.col-name {
    width: 40%;
}

.col-type {
    width: 15%;
    text-align: center;
}

.col-credits {
    width: 15%;
    text-align: center;
}

.col-grade {
    width: 15%;
    text-align: center;
}

.col-gpa {
    width: 15%;
    text-align: center;
}

.year-summary {
    display: flex;
    justify-content: space-around;
background: #f9f7f4;
    padding: 12px;
    border: 1px solid #e8e2db;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-weight: 700;
    font-size: 0.8em;
    color: #032E4E;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.summary-value {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    color: #545677;
    margin-top: 5px;
}

.final-summary .summary-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.summary-box {
    text-align: center;
    padding: 15px;
background: #f9f7f4;
    border: 1px solid #e8e2db;
    border-radius: 8px;
    flex: 1;
    margin: 0 10px;
}

.summary-box .summary-label {
    font-size: 0.8em;
    color: #032E4E;
    margin-bottom: 8px;
}

.summary-large {
    font-size: 1.6em;
    font-weight: 700;
    color: #032E4E;
}

.grading-scale-section {
    margin-top: 30px;
    padding: 15px;
background: #f9f7f4;
    border: 1px solid #e8e2db;
    border-radius: 8px;
    page-break-inside: avoid;
}

.grading-scale-section h4 {
    font-size: 0.95em;
    margin-bottom: 10px;
    color: #032E4E;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.grading-scale-table {
    width: 100%;
    font-size: 0.85em;
}

.grading-scale-table td {
    padding: 5px 10px;
    border-right: 1px solid #D44167;
}

.grading-scale-table td:last-child {
    border-right: none;
}

.transcript-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #D44167;
    text-align: center;
    font-size: 0.85em;
    color: #545677;
}

/* SETTINGS */
.settings-group {
    margin-bottom: 30px;
    padding: 20px;
background: #f9f7f4;
    border-radius: 12px;
    border: 1px solid #e8e2db;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.settings-group h3 {
    color: #032E4E;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.grading-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.grading-table th,
.grading-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #D44167;
}

.grading-table th {
background: #032E4E;
    color: #ffffff;
    font-weight: 700;
}

.grading-table tr:nth-child(even) {
    background: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

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

    .form-group {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

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

    .action-buttons .btn {
        width: 100%;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 0 1 calc(33.333% - 2px);
        padding: 12px 10px;
    }

    .transcript-table {
        font-size: 0.8em;
    }

    .col-name {
        width: 35%;
    }

    .col-type {
        width: 15%;
    }

    .col-credits {
        width: 15%;
    }

    .col-grade {
        width: 15%;
    }

    .col-gpa {
        width: 15%;
    }
}

/* PRINT STYLES */
@media print {
   
    body {
        background: white;
        padding: 0;
        margin: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
        border: none;
        margin: 0;
        padding: 0;
    }

    header,
    .tabs,
    .tab-content:not(#transcript),
    .action-buttons,
    .transcript-container > .btn {
        display: none !important;
    }

    #transcript {
        display: block !important;
        padding: 0 !important;
    }

    #transcriptOutput {
        border: none !important;
        padding: 0 !important;
        background: white !important;
        box-shadow: none !important;
    }

    .transcript {
        font-size: 11pt;
        line-height: 1.5;
    }

    .transcript-section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }

    .transcript-table {
        font-size: 10pt;
    }

    .transcript-table thead {
        display: table-header-group;
    }

    .transcript-table tbody tr {
        page-break-inside: avoid;
    }

    .year-summary,
    .summary-box,
    .grading-scale-section {
        border: 1px solid #000 !important;
        background: white !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
/* ============================================================
   PROFESSIONAL TRANSCRIPT STYLES  — 2-up single-page layout
   Replace the entire "MODERN TRANSCRIPT DESIGN" block with this.
   Everything above that block in your CSS stays unchanged.
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.pro-transcript {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 9.5pt;
    line-height: 1.4;
    color: #111;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 36px;
    border: 1px solid #bbb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ── Letterhead ──────────────────────────────────────────── */
.pt-letterhead {
    text-align: center;
    margin-bottom: 10px;
}

.pt-school-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1a1a2e;
}

.pt-school-meta {
    font-size: 0.78rem;
    color: #555;
    font-family: 'Segoe UI', sans-serif;
    margin-top: 2px;
}

/* ── Student meta table ──────────────────────────────────── */
.pt-meta-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #888;
    margin-bottom: 10px;
    font-family: 'Segoe UI', sans-serif;
}

.pt-meta-table td {
    padding: 5px 8px;
    border: 1px solid #aaa;
    font-size: 0.8rem;
    vertical-align: middle;
}

.pt-meta-label {
    background: #e8e8ec;
    font-weight: 700;
    font-size: 0.72rem !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #333;
    white-space: nowrap;
}

.pt-meta-gpa {
    font-weight: 700;
    font-size: 0.95rem !important;
    color: #1a1a2e;
}

/* ── "Academic Record" title bar ─────────────────────────── */
.pt-record-title {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 0;
    margin-bottom: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Shared column-header row (sits above both panels) ───── */
.pt-col-labels {
    display: flex;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    color: #222;
    background: #fff;
}

.pt-col-label-set {
    flex: 1;
    display: flex;
    padding: 4px 6px;
}

.pt-col-label-divider {
    width: 1px;
    background: #aaa;
}

.pt-cl-name    { flex: 1; }
.pt-cl-credits { width: 60px; text-align: center; }
.pt-cl-grade   { width: 70px; text-align: center; }

/* ── Year pair row ───────────────────────────────────────── */
.pt-row {
    display: flex;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    margin-bottom: 0;
}

.pt-year-panel {
    flex: 1;
    border-right: 1px solid #aaa;
}

.pt-year-panel:last-child {
    border-right: none;
}

.pt-year-empty {
    flex: 1;
}

/* ── Per-year table ──────────────────────────────────────── */
.pt-year-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

/* Year header: "9th Grade  |  2012 – 2013" */
.pt-year-header-row th {
    background: #d0d5e0;
    border-bottom: 1px solid #aaa;
    padding: 4px 6px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #111;
}

.pt-yh-name {
    text-align: left;
}

.pt-yh-year {
    text-align: right;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Data rows */
.pt-year-table td {
    padding: 3px 6px;
    border-bottom: 1px solid #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    vertical-align: middle;
}

.pt-col-name    { width: auto; }
.pt-col-credits { width: 55px; text-align: center; }
.pt-col-grade   { width: 65px; text-align: center; font-weight: 600; }

.pt-year-table tbody tr:nth-child(even) td {
    background: #f7f7f9;
}

/* Year totals footer */
.pt-year-totals td {
    background: #eceef2 !important;
    border-top: 1px solid #aaa !important;
    border-bottom: 1px solid #aaa;
    font-weight: 700;
    font-size: 0.76rem;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    padding: 3px 6px;
}

/* Bottom border on the last pair */
.pt-row:last-of-type {
    border-bottom: 1px solid #aaa;
}

/* ── Grading scale bar ───────────────────────────────────── */
.pt-scale-bar {
    border: 1px solid #aaa;
    border-top: none;
    padding: 5px 8px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.73rem;
    color: #333;
    background: #fafafa;
    margin-bottom: 18px;
}

/* ── Signature block ─────────────────────────────────────── */
.pt-signature-block {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    margin-bottom: 14px;
}

.pt-sig-col {
    flex: 1;
}

.pt-sig-line {
    border-bottom: 1px solid #333;
    margin-bottom: 5px;
    height: 30px;
}

.pt-sig-label {
    font-size: 0.7rem;
    color: #555;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Document footer ─────────────────────────────────────── */
.pt-doc-footer {
    border-top: 1px solid #bbb;
    padding-top: 8px;
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    font-style: italic;
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-transcript {
    text-align: center;
    padding: 60px;
    color: #64748b;
    font-family: 'Segoe UI', sans-serif;
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {

    body,
    .container,
    #transcriptOutput {
        background: white !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    header,
    .tabs,
    .tab-content:not(#transcript),
    .action-buttons,
    .transcript-container > .btn,
    .btn {
        display: none !important;
    }

    #transcript {
        display: block !important;
        padding: 0 !important;
    }

    .pro-transcript {
        border: none;
        box-shadow: none;
        padding: 0.35in 0.45in;
        max-width: 100%;
        font-size: 9pt;
    }

    .pt-row {
        page-break-inside: avoid;
    }

    /* force dark backgrounds to print */
.pt-record-title,
.pt-year-header-row th,
.pt-year-totals td,
.pt-meta-label {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
}
}
.form-group-full {
    width: 100%;
    margin-right: 0;
}

.section-subtitle {
    font-size: 0.85em;
    color: #9a9080;
    margin-bottom: 16px;
    margin-top: -10px;
}
.settings-group .form-actions {
    border-top: 1px solid #D44167;
    padding-top: 16px;
    margin-top: 4px;
}

.settings-group .form-actions .btn {
    width: auto;
    padding: 10px 24px;
}
.pt-logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px auto;
}
.course-edit {
    background: #032E4E;
    color: #F2F6D0;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.course-edit:hover {
    background: #1B5A7E;
}
.optional-label {
    font-size: 0.75em;
    font-weight: 400;
    color: #9a9080;
    letter-spacing: 0;
    text-transform: none;
}
.pt-cert {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    font-style: italic;
    color: #333;
    margin-bottom: 14px;
    margin-top: 6px;
}
.backup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff8e6;
    border: 1px solid #f0c040;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82em;
    color: #7a5c00;
    width: 100%;
    margin-top: 4px;
}

.backup-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.backup-dismiss {
    background: none;
    border: none;
    color: #b0a898;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    font-weight: 700;
    flex-shrink: 0;
}

.backup-dismiss:hover {
    color: #545677;
}
.settings-group a {
    color: #D44167;
    text-decoration: none;
    font-weight: 600;
}

.settings-group a:hover {
    text-decoration: underline;
}
.mobile-transcript-warning {
    display: none;
    background: #fff8e6;
    border: 1px solid #f0c040;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    color: #7a5c00;
    margin: 20px 0;
}

@media (max-width: 480px) {
    .mobile-transcript-warning {
        display: block;
    }
    .pro-transcript {
        display: none;
    }
}
@media (max-width: 480px) {
    .transcript-container .btn {
        display: none;
    }
}
@media (max-width: 480px) {
    #transcriptOutput {
        display: none;
    }
}
