/* ==============================
   JSUOG 2027 Registration CSS
   Soft Poster-Matched Version
============================== */

:root {
    --color-primary: #1F3468;
    --color-primary-soft: #4F70B8;
    --color-secondary: #BFD5F6;
    --color-secondary-light: #EAF2FF;
    --color-bg: #F8FAFD;
    --color-bg-warm: #F7F4EC;
    --color-accent: #C9B97A;

    --color-text: #33415C;
    --color-text-light: #667085;
    --color-white: #FFFFFF;

    --border-soft: rgba(191, 213, 246, 0.75);
    --shadow-soft: 0 8px 24px rgba(31, 52, 104, 0.08);
    --shadow-hover: 0 12px 30px rgba(31, 52, 104, 0.13);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

/* ==============================
   Page Wrap
============================== */

.page-wrap {
    min-width: 0;
}

/* ==============================
   Registration Page Styles
============================== */

.reg-page {
    flex: 1;
    padding: 34px;

    background: linear-gradient(135deg,
            var(--color-white),
            var(--color-bg));

    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-soft);
}

.page-header {
    margin-bottom: 28px;
}

.page-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* ==============================
   Section Headings
============================== */

.section-title {
    position: relative;

    margin-bottom: 16px;
    padding-bottom: 12px;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;

    color: var(--color-primary);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 90px;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(90deg,
            var(--color-primary-soft),
            var(--color-secondary),
            var(--color-accent));
}

/* ==============================
   Utility Heading With Line
============================== */

.with-line {
    position: relative;

    margin: 1.5rem 0 1rem;
    padding-bottom: 0.6rem;

    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;

    color: var(--color-primary);
}

.with-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 90px;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(90deg,
            var(--color-primary-soft),
            var(--color-secondary),
            var(--color-accent));
}

/* ==============================
   Info Boxes & Notes
============================== */

.info-box {
    margin: 16px 0;
    padding: 18px;

    background: linear-gradient(135deg,
            var(--color-secondary-light),
            var(--color-white));

    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-soft);
}

.note {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ==============================
   Lists
============================== */

.list-bullets,
.list-steps {
    margin-left: 1.4rem;
    color: var(--color-text);
}

.list-bullets li {
    margin: 0.45rem 0;
    line-height: 1.7;
}

.list-steps li {
    margin: 0.65rem 0;
    line-height: 1.8;
}

/* ==============================
   Registration Table
============================== */

.table-wrap {
    margin: 18px 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);

    box-shadow: var(--shadow-soft);

    background: var(--color-white);
}

.reg-table {
    width: 100%;
    min-width: 640px;

    border-collapse: collapse;

    background: var(--color-white);
    font-size: 0.95rem;
}

.reg-table th,
.reg-table td {
    padding: 14px 16px;

    border: 1px solid rgba(191, 213, 246, 0.65);

    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.reg-table th {
    font-weight: 700;
}

.reg-table td {
    color: var(--color-text);
}

/* Table Header */

.reg-table thead th {
    background: linear-gradient(135deg,
            var(--color-primary),
            var(--color-primary-soft));

    color: var(--color-white);
    white-space: nowrap;
}

/* Zebra */

.reg-table tbody tr:nth-child(even) {
    background: var(--color-bg);
}

/* Hover */

.reg-table tbody tr:hover {
    background: var(--color-secondary-light);
    transition: background 0.25s ease;
}

/* ==============================
   Column Sizing
============================== */

.reg-table th:nth-child(1),
.reg-table td:nth-child(1) {
    min-width: 120px;
    white-space: nowrap;
}

.reg-table th:nth-child(2),
.reg-table td:nth-child(2) {
    min-width: 150px;
    white-space: nowrap;
}

.reg-table th:nth-child(3),
.reg-table td:nth-child(3),
.reg-table th:nth-child(4),
.reg-table td:nth-child(4) {
    min-width: 120px;
    white-space: nowrap;
}

.reg-table th:nth-child(5),
.reg-table td:nth-child(5) {
    min-width: 240px;
}

.reg-table th:nth-child(6),
.reg-table td:nth-child(6) {
    min-width: 220px;
}

/* ==============================
   Highlight Labels
============================== */

.reg-highlight {
    display: inline-block;

    padding: 4px 10px;

    font-size: 0.9rem;
    font-weight: 700;

    color: var(--color-primary);

    background: var(--color-secondary-light);

    border: 1px solid var(--border-soft);
    border-radius: 999px;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 768px) {

    .reg-page {
        padding: 22px;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .with-line {
        font-size: 1.2rem;
    }

    .reg-table {
        min-width: 560px;
        font-size: 0.9rem;
    }

    .reg-table th,
    .reg-table td {
        padding: 10px;
    }

    .info-box {
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .reg-page {
        padding: 18px;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .reg-table {
        min-width: 500px;
        font-size: 0.85rem;
    }

    .reg-table th,
    .reg-table td {
        padding: 8px;
    }
}

/* ==============================
   Accessibility
============================== */

@media (prefers-reduced-motion: reduce) {

    .reg-table tbody tr {
        transition: none;
    }
}