* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #ffffff;
    font-family: Inter, Arial, sans-serif;
    background: #020712;
}

body.page-busy::before {
    content: "Loading";
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding-top: 92px;
    color: #ffd45d;
    background: rgba(2, 7, 18, 0.76);
    font-size: 13px;
    font-weight: 900;
    z-index: 9998;
}

body.page-busy::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    margin: -42px 0 0 -31px;
    border: 5px solid rgba(255, 212, 93, 0.22);
    border-top-color: #ffd45d;
    border-right-color: #a83fe0;
    border-radius: 50%;
    animation: farewell-spin 0.85s linear infinite;
    z-index: 9999;
}

@keyframes farewell-spin {
    to {
        transform: rotate(360deg);
    }
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.public-page {
    background:
        radial-gradient(circle at 18% 18%, rgba(134, 32, 160, 0.36), transparent 32%),
        radial-gradient(circle at 88% 38%, rgba(209, 123, 25, 0.16), transparent 22%),
        linear-gradient(180deg, #020916 0%, #08031a 48%, #030713 100%);
}

.farewell-shell {
    position: relative;
    width: min(100%, 860px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 26px 34px 38px;
    overflow: hidden;
    isolation: isolate;
}

.farewell-shell::after,
.umang-preview::after,
.farewell-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    pointer-events: none;
    background:
        radial-gradient(circle at 7% 88%, #050209 0 18px, transparent 19px),
        radial-gradient(circle at 18% 82%, #050209 0 26px, transparent 27px),
        radial-gradient(circle at 31% 91%, #050209 0 21px, transparent 22px),
        radial-gradient(circle at 46% 84%, #050209 0 31px, transparent 32px),
        radial-gradient(circle at 62% 91%, #050209 0 20px, transparent 21px),
        radial-gradient(circle at 78% 82%, #050209 0 28px, transparent 29px),
        radial-gradient(circle at 92% 88%, #050209 0 18px, transparent 19px),
        linear-gradient(to top, #030007 0 46%, transparent 47%);
    opacity: 0.78;
    z-index: -1;
}

.gold-ribbon {
    position: absolute;
    width: 260px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f8d56a, #a46112 48%, #ffd772);
    opacity: 0.95;
    box-shadow: 0 0 30px rgba(255, 187, 49, 0.28);
    z-index: -1;
}

.ribbon-top {
    top: 20px;
    right: -86px;
    transform: rotate(34deg);
}

.ribbon-bottom {
    left: -92px;
    bottom: 34px;
    transform: rotate(28deg);
}

.confetti-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
    z-index: -1;
    background-image:
        radial-gradient(circle at 7% 10%, #ffbf2d 0 3px, transparent 4px),
        radial-gradient(circle at 20% 21%, #f8d56a 0 2px, transparent 3px),
        radial-gradient(circle at 72% 7%, #ffbf2d 0 3px, transparent 4px),
        radial-gradient(circle at 91% 24%, #f8d56a 0 2px, transparent 3px),
        radial-gradient(circle at 82% 33%, #d61f84 0 2px, transparent 3px),
        radial-gradient(circle at 12% 35%, #d61f84 0 2px, transparent 3px),
        radial-gradient(circle at 58% 17%, #ffbf2d 0 2px, transparent 3px);
}

.public-hero {
    text-align: center;
}

.public-actions {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}

.public-actions a,
.closed-box a,
.screenshot-link {
    display: inline-grid;
    place-items: center;
    min-height: 38px;
    padding: 0 18px;
    color: #130d02;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffe37a, #f4a528);
    font-size: 13px;
    font-weight: 900;
}

.college-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
}

.college-logo {
    width: 138px;
    height: 138px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
}

.college-lockup h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 33px;
    line-height: 1.08;
    color: #ffffff;
}

.tagline {
    margin: 8px 0 0;
    color: #ffd02f;
    font-size: 17px;
    font-weight: 600;
}

.affiliation {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 15px;
}

.farewell-title {
    margin-top: -2px;
}

.farewell-title span {
    display: block;
    color: #f9c84e;
    font-family: "Great Vibes", "Brush Script MT", cursive;
    font-size: 118px;
    line-height: 0.92;
    text-shadow: 0 4px 0 rgba(107, 55, 8, 0.4), 0 0 28px rgba(255, 185, 45, 0.35);
}

.farewell-title strong {
    display: block;
    margin-top: -6px;
    color: #ffe37a;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 48px;
    line-height: 1;
}

.farewell-title p {
    margin: 12px 0 18px;
    font-size: 16px;
    letter-spacing: 4px;
}

.registration-panel,
.status-card,
.login-panel,
.table-panel,
.detail-panel,
.umang-preview {
    border: 1px solid rgba(245, 164, 40, 0.78);
    background:
        linear-gradient(135deg, rgba(26, 13, 48, 0.92), rgba(5, 12, 32, 0.88)),
        rgba(4, 7, 20, 0.92);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.registration-panel {
    border-radius: 18px;
    padding: 24px 28px 20px;
}

.panel-heading {
    text-align: center;
}

.panel-heading h2,
.status-card h1,
.login-panel h1 {
    margin: 0;
    color: #ffd75b;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    line-height: 1.2;
}

.panel-heading p,
.status-card p,
.login-panel p {
    margin: 6px 0 18px;
    color: rgba(255, 255, 255, 0.92);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 34px;
}

.field,
.status-form label,
.login-form label,
.action-panel label {
    display: grid;
    gap: 8px;
}

.field > span:first-child,
.payment-label,
.status-form span,
.login-form span,
.action-panel span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.field b,
.payment-label b {
    color: #ff4a60;
}

.control {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(42, 20, 75, 0.72);
    overflow: hidden;
}

.control i {
    color: #ffc423;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

.control input,
.control select,
.status-form input,
.login-form input,
.action-panel select,
.action-panel textarea,
.table-actions input,
.table-actions select,
.date-select select {
    width: 100%;
    min-width: 0;
    color: #ffffff;
    border: 0;
    outline: 0;
    background: transparent;
}

.control input,
.control select {
    min-height: 42px;
    padding: 0 12px 0 0;
}

.control select,
.table-actions select,
.date-select select,
.action-panel select {
    appearance: auto;
}

::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.payment-box {
    display: grid;
    gap: 8px;
}

.payment-content {
    display: grid;
    grid-template-columns: 152px 1fr;
    gap: 18px;
    align-items: center;
}

.payment-content img {
    width: 152px;
    height: 152px;
    object-fit: cover;
    border: 8px solid #ffffff;
    border-radius: 4px;
    background: #ffffff;
}

.payment-content strong {
    display: block;
    color: #ffcc2f;
    font-size: 15px;
}

.payment-content p {
    margin: 6px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.35;
}

.payment-content b {
    color: #ffcc2f;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(100%, 406px);
    min-height: 58px;
    margin: 22px auto 0;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #f6a326, #ad2a78 58%, #7511b9);
    box-shadow: 0 14px 30px rgba(165, 38, 115, 0.36);
    font-weight: 800;
    font-size: 18px;
}

.submit-btn b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    line-height: 1;
}

.submit-btn.compact {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    font-size: 14px;
}

.file-control input {
    padding-top: 10px;
}

.countdown-box {
    display: grid;
    justify-items: center;
    gap: 5px;
    width: min(100%, 430px);
    margin: 0 auto 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 211, 80, 0.5);
    border-radius: 10px;
    background: rgba(79, 28, 101, 0.36);
}

.countdown-box span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
}

.countdown-box strong {
    color: #ffdb62;
    font-size: 21px;
}

.closed-box {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: min(100%, 560px);
    margin: 12px auto 0;
    padding: 26px;
    border: 1px solid rgba(255, 211, 80, 0.42);
    border-radius: 12px;
    background: rgba(6, 12, 30, 0.72);
    text-align: center;
}

.closed-box h3 {
    margin: 0;
    color: #ffdb62;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
}

.closed-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.note-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, 575px);
    margin: 22px auto 0;
    padding: 14px 18px;
    border: 1px solid rgba(245, 164, 40, 0.56);
    border-radius: 12px;
    background: rgba(9, 9, 29, 0.7);
    text-align: center;
}

.note-box span,
.memory-strip span {
    color: #ffc42d;
    font-size: 12px;
    font-weight: 900;
}

.note-box p {
    margin: 0;
    line-height: 1.55;
}

.memory-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 30px;
    padding: 0 46px;
}

.memory-strip div {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 78px;
    text-align: center;
    border-right: 1px solid rgba(245, 164, 40, 0.24);
}

.memory-strip div:last-child {
    border-right: 0;
}

.memory-strip p {
    margin: 0;
    line-height: 1.32;
}

.alert {
    width: min(100%, 760px);
    margin: 12px auto;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 700;
}

.alert a {
    color: #ffffff;
    text-decoration: underline;
}

.alert-success {
    border: 1px solid rgba(17, 185, 99, 0.48);
    background: rgba(14, 135, 75, 0.32);
}

.alert-error {
    border: 1px solid rgba(255, 63, 92, 0.5);
    background: rgba(138, 24, 43, 0.32);
}

.compact-page {
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.status-shell,
.card-page,
.login-shell {
    width: min(100%, 560px);
}

.back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffd45d;
    font-weight: 800;
}

.status-card,
.login-panel {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
}

.status-logo,
.login-panel img {
    width: 118px;
    height: 118px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.status-form,
.login-form {
    display: grid;
    gap: 14px;
    text-align: left;
}

.status-form input,
.login-form input,
.action-panel select,
.action-panel textarea,
.table-actions input,
.table-actions select,
.date-select select {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    background: rgba(9, 17, 42, 0.78);
}

.status-result {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(8, 16, 40, 0.72);
    text-align: left;
}

.status-result h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.status-result p {
    margin: 0 0 8px;
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    text-align: left;
}

.detail-list div,
.student-mini dl div,
.card-details div {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 10px;
}

.detail-list dt,
.student-mini dt,
.card-details dt {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.detail-list dd,
.student-mini dd,
.card-details dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 22px;
    color: #151003;
    border-radius: 8px;
    background: #ffd45d;
    font-weight: 900;
}

.card-link.download-link {
    margin-left: 8px;
    color: #ffffff;
    background: linear-gradient(90deg, #f6a326, #ad2a78 58%, #7511b9);
}

.approval-note {
    color: #ffd45d;
    font-weight: 700;
}

.admin-login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(circle at 22% 24%, rgba(133, 30, 184, 0.34), transparent 28%),
        linear-gradient(135deg, #020814, #0b0220 60%, #12081c);
}

.login-panel small {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
}

.admin-page {
    background: #030b1b;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px 18px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 50% 82%, rgba(135, 32, 159, 0.26), transparent 25%),
        linear-gradient(180deg, #061532, #02102a 52%, #020817);
}

.admin-brand {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.admin-brand h1 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}

.admin-brand p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.menu-title {
    display: block;
    margin: 22px 0 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.nav-link {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.nav-link i {
    color: #ffffff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.nav-link b {
    min-width: 22px;
    padding: 3px 6px;
    border-radius: 999px;
    color: #1b1302;
    background: #c89131;
    font-size: 11px;
    text-align: center;
}

.nav-link.active,
.nav-link:hover {
    background: linear-gradient(90deg, #441b9d, #5f1da7);
    color: #ffffff;
}

.side-memory {
    position: absolute;
    right: 16px;
    bottom: 24px;
    left: 16px;
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 178px;
    padding: 26px 18px;
    border: 1px solid rgba(216, 48, 151, 0.46);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 20%, rgba(204, 49, 230, 0.35), transparent 34%),
        linear-gradient(160deg, rgba(64, 17, 96, 0.86), rgba(10, 17, 46, 0.78));
    text-align: center;
}

.cup-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 52px;
    color: #ee83ff;
    border: 2px solid #bb56d8;
    border-radius: 8px;
    font-weight: 900;
}

.side-memory h2,
.side-memory p {
    margin: 0;
}

.side-memory p {
    line-height: 1.45;
}

.dashboard {
    min-width: 0;
    padding: 18px 22px 22px;
    background:
        radial-gradient(circle at 82% 8%, rgba(76, 39, 144, 0.18), transparent 24%),
        linear-gradient(180deg, #040d22, #061225 48%, #020916);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    margin: -18px -22px 20px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar h1 {
    margin: 0;
    font-size: 22px;
}

.topbar p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.admin-profile {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-profile p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.bell {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    border-radius: 50%;
    background: #e5254d;
    font-size: 12px;
    font-weight: 900;
}

.profile-avatar,
.avatar-circle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #7056ce 62%, #23165c);
    font-weight: 900;
}

.profile-avatar.large,
.avatar-circle {
    width: 58px;
    height: 58px;
}

.profile-avatar.small {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.overview-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.overview-heading h2,
.table-head h2,
.detail-panel h2 {
    margin: 0;
    font-size: 20px;
}

.date-select select {
    min-width: 150px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
}

.stat-card {
    min-height: 126px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(25, 42, 88, 0.92), rgba(20, 18, 58, 0.86));
}

.stat-card i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.stat-card.blue i {
    background: linear-gradient(135deg, #635bff, #421dca);
}

.stat-card.orange i {
    background: linear-gradient(135deg, #ffb13d, #f06e1a);
}

.stat-card.green i {
    background: linear-gradient(135deg, #27d17d, #05834e);
}

.stat-card.violet i {
    background: linear-gradient(135deg, #a650f3, #631cc0);
}

.stat-card p {
    margin: 10px 0 6px;
    color: #ffffff;
    font-size: 13px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.stat-card span {
    color: #5ef196;
    font-size: 11px;
}

.stat-card.orange span,
.stat-card.violet span {
    color: #ffd45d;
}

.table-panel {
    margin-top: 16px;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.table-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table-actions input {
    width: 300px;
}

.table-actions button {
    min-height: 40px;
    padding: 0 18px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(9, 17, 42, 0.9);
    font-weight: 800;
}

.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

th {
    background: rgba(54, 51, 94, 0.65);
    color: #ffffff;
    font-size: 12px;
}

.selected-row {
    background: rgba(99, 91, 255, 0.12);
}

.empty-row {
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
}

.status-badge {
    display: inline-grid;
    place-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.badge-pending {
    color: #ffd58a;
    background: rgba(191, 103, 14, 0.34);
}

.badge-approved {
    color: #6cf399;
    background: rgba(8, 148, 71, 0.34);
}

.badge-rejected {
    color: #ff9aa8;
    background: rgba(180, 27, 50, 0.34);
}

.row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.row-actions form {
    margin: 0;
}

.icon-btn {
    display: grid;
    place-items: center;
    min-width: 38px;
    min-height: 26px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.icon-btn.view {
    background: #108348;
}

.icon-btn.delete {
    background: #ca2038;
}

.pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 13px 16px 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.pagination div {
    display: flex;
    gap: 6px;
}

.pagination a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
}

.pagination a.active {
    background: #5932e6;
    border-color: #704aff;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.4fr;
    gap: 12px;
    margin-top: 16px;
}

.detail-panel {
    min-width: 0;
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    padding: 16px;
}

.student-mini {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    align-items: start;
    margin-top: 14px;
}

.student-mini dl,
.card-details {
    display: grid;
    gap: 8px;
    margin: 0;
}

.payment-preview {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-preview p {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 13px;
}

.payment-preview img {
    width: 66px;
    height: 66px;
    margin: 0 auto;
    border: 5px solid #ffffff;
    border-radius: 4px;
}

.action-panel form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.action-panel textarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

.admin-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 9px;
}

.admin-buttons button {
    min-height: 40px;
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    font-weight: 800;
}

.action-buttons form {
    margin: 0;
}

.approve-btn {
    background: #0c944f;
}

.reject-btn {
    background: #cc273d;
}

.save-btn {
    background: #5730d8;
}

.approve-btn.mini,
.reject-btn.mini {
    min-height: 30px;
    padding: 0 10px;
    color: #ffffff;
    border: 0;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 900;
}

.screenshot-link {
    min-height: 28px;
    padding: 0 12px;
    border-radius: 5px;
}

.settings-panel {
    width: min(100%, 560px);
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(26, 13, 48, 0.92), rgba(5, 12, 32, 0.88));
}

.settings-form {
    display: grid;
    gap: 16px;
}

.settings-form label {
    display: grid;
    gap: 8px;
}

.settings-form span {
    font-size: 14px;
    font-weight: 800;
}

.settings-form input,
.settings-form select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    outline: 0;
    background: rgba(9, 17, 42, 0.78);
}

.settings-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.settings-topbar h1 {
    margin: 0;
    font-size: 28px;
}

.settings-topbar p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.back-button {
    display: inline-grid;
    place-items: center;
    min-width: 92px;
    min-height: 46px;
    padding: 0 18px;
    color: #ffd45d;
    border: 1px solid rgba(255, 212, 93, 0.52);
    border-radius: 9px;
    background: rgba(19, 10, 31, 0.72);
    font-weight: 900;
}

.registration-settings-panel {
    width: min(100%, 860px);
    border-color: rgba(255, 212, 93, 0.42);
    border-radius: 12px;
    background:
        radial-gradient(circle at 82% 16%, rgba(168, 63, 224, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(29, 13, 48, 0.96), rgba(4, 14, 33, 0.94));
}

.registration-settings-panel .settings-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.settings-field small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 700;
}

.settings-save-btn {
    display: inline-flex;
    grid-column: 1 / span 1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    width: min(100%, 440px);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #f6a326, #ad2a78 58%, #7511b9);
    box-shadow: 0 18px 35px rgba(171, 42, 122, 0.35);
    font-size: 16px;
    font-weight: 900;
}

.settings-save-btn b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 12px;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 7, 18, 0.72);
    z-index: 10000;
}

.confirm-card {
    width: min(100%, 380px);
    padding: 24px;
    border: 1px solid rgba(255, 212, 93, 0.55);
    border-radius: 12px;
    background:
        radial-gradient(circle at 80% 8%, rgba(168, 63, 224, 0.28), transparent 28%),
        linear-gradient(145deg, rgba(29, 13, 48, 0.98), rgba(4, 14, 33, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.confirm-card h2 {
    margin: 0;
    color: #ffd45d;
    font-size: 22px;
}

.confirm-card p {
    margin: 12px 0 20px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.confirm-actions button {
    min-height: 44px;
    color: #ffffff;
    border: 0;
    border-radius: 7px;
    font-weight: 900;
}

.confirm-yes {
    background: #0c944f;
}

.confirm-no {
    background: #cc273d;
}

.recent-panel {
    display: grid;
    gap: 11px;
}

.recent-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    align-items: center;
}

.recent-item b,
.recent-item small {
    display: block;
}

.recent-item small,
.recent-item em {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-style: normal;
}

.view-all {
    display: grid;
    place-items: center;
    min-height: 38px;
    margin-top: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, #9225c7, #4d1aa6);
    font-weight: 800;
}

.umang-preview {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
    padding: 22px 28px;
    border-radius: 12px;
    overflow: hidden;
}

.umang-preview h2 {
    margin: 0;
    color: #ffd45d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 36px;
}

.umang-preview p {
    margin: 7px 0 18px;
    font-size: 19px;
}

.umang-preview span {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 0 28px;
    color: #ffd45d;
    border: 1px solid #e2b83b;
    border-radius: 999px;
    background: rgba(121, 82, 12, 0.24);
    font-size: 20px;
    font-weight: 900;
}

.farewell-card {
    position: relative;
    min-height: 200px;
    padding: 18px 22px 16px;
    border: 1px solid #f2c84b;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 129, 24, 0.32), transparent 22%),
        linear-gradient(145deg, rgba(37, 15, 54, 0.96), rgba(8, 7, 26, 0.96));
}

.farewell-card::after {
    height: 84px;
    opacity: 0.65;
}

.card-header {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
    text-align: center;
}

.card-header img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.card-header h3,
.card-header h1 {
    margin: 0;
    color: #ffe15f;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
}

.card-header p {
    margin: 3px 0 0;
    color: #ffe15f;
    font-size: 12px;
    font-weight: 900;
}

.card-details {
    margin-top: 18px;
}

.barcode {
    height: 32px;
    margin-top: 14px;
    border: 4px solid #ffffff;
    background:
        repeating-linear-gradient(90deg, #000000 0 2px, #ffffff 2px 4px, #000000 4px 5px, #ffffff 5px 9px);
}

.print-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.print-toolbar a,
.print-toolbar button {
    min-height: 40px;
    padding: 0 16px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(12, 20, 46, 0.86);
    font-weight: 800;
}

.full-card {
    width: min(100%, 640px);
    min-height: 360px;
    margin: 0 auto;
}

.full-card .card-header {
    grid-template-columns: 92px 1fr;
}

.full-card .card-header img {
    width: 92px;
    height: 92px;
}

.full-card .card-header h1 {
    font-size: 34px;
}

.issued-line {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    text-align: right;
}

@media (max-width: 1180px) {
    .admin-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .stat-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recent-panel {
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    .farewell-shell {
        padding: 22px 16px 32px;
    }

    .college-lockup {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .college-lockup h1 {
        font-size: 26px;
    }

    .farewell-title span {
        font-size: 76px;
    }

    .farewell-title strong {
        font-size: 38px;
    }

    .registration-panel {
        padding: 20px 16px;
    }

    .form-grid,
    .payment-content,
    .memory-strip,
    .umang-preview {
        grid-template-columns: 1fr;
    }

    .payment-content img {
        margin: 0 auto;
    }

    .memory-strip {
        padding: 0;
        gap: 14px;
    }

    .memory-strip div {
        border-right: 0;
    }

    .admin-shell {
        display: block;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .side-memory {
        position: static;
        margin-top: 18px;
    }

    .dashboard {
        padding: 16px;
    }

    .topbar {
        margin: -16px -16px 16px;
        padding: 0 16px;
    }

    .overview-heading,
    .table-head,
    .pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .table-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .table-actions input {
        width: 100%;
    }

    .stat-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .recent-panel {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .college-logo {
        width: 112px;
        height: 112px;
    }

    .farewell-title span {
        font-size: 62px;
    }

    .farewell-title p {
        letter-spacing: 2px;
    }

    .panel-heading h2 {
        font-size: 22px;
    }

    .submit-btn {
        font-size: 15px;
    }

    .detail-list div,
    .student-mini dl div,
    .card-details div {
        grid-template-columns: 96px 1fr;
    }

    .admin-buttons {
        grid-template-columns: 1fr;
    }

    .recent-item {
        grid-template-columns: 38px 1fr;
    }

    .recent-item em {
        grid-column: 2;
    }
}

@media (max-width: 720px) {
    .settings-topbar,
    .registration-settings-panel .settings-form {
        grid-template-columns: 1fr;
    }

    .settings-topbar {
        display: grid;
    }

    .settings-save-btn {
        grid-column: auto;
        width: 100%;
    }
}

@media print {
    body {
        background: #ffffff;
    }

    .print-toolbar {
        display: none;
    }

    .card-page {
        width: 100%;
    }

    .full-card {
        color: #ffffff;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
