/* Let the main area be flexible (this line is crucial in flexbox!) */
.page-wrap {
  min-width: 0;
}

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

.reg-page {
    flex: 1;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-lead {
    font-size: 1.05rem;
    color: #555;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #F72C5B;
    margin-bottom: 10px;
}

.with-line {
    position: relative;
    margin: 1.2rem 0 0.9rem;
    padding-bottom: 0.5rem;

    font-size: 1.4rem;
    font-weight: 700;
    color: #F72C5B;
}

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

    width: 90px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #F72C5B, #ff6b8f);
}

/* ==============================
   Info Boxes & Lists
============================== */

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

    background: #fff6f9;
    border: 1px solid #f7c7d5;
    border-radius: 10px;
}

.note {
    font-size: 0.9rem;
    color: #666;
}

.list-bullets,
.list-steps {
    margin-left: 1.2rem;
}

.list-bullets li {
    margin: 0.35rem 0;
}

.list-steps li {
    margin: 0.5rem 0;
    line-height: 1.7;
}

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

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

    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

    background: #ffffff;
    font-size: 0.95rem;
}

.reg-table th,
.reg-table td {
    padding: 12px 14px;
    border: 1px solid #eeeeee;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.reg-table thead th {
    background: linear-gradient(135deg, #F72C5B, #ff6b8f);
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
}

.reg-table tbody tr:nth-child(even) {
    background: #fff9fb;
}

.reg-table tbody tr:hover {
    background: #fff2f6;
    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;
}


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

@media (max-width: 768px) {
    .reg-page {
        padding: 20px;
    }

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

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

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

@media (max-width: 480px) {
    .reg-table {
        min-width: 500px;
        font-size: 0.85rem;
    }

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

/* ==============================
   Registration Page End
============================== */