@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #f8fafc;
    --muted: #a8b7c9;
    --line: rgba(148, 163, 184, 0.2);
    --surface: rgba(15, 23, 42, 0.74);
    --surface-soft: rgba(23, 43, 69, 0.55);
    --cyan: #38bdf8;
    --cyan-soft: #7dd3fc;
    --green: #4ade80;
    --shadow: 0 24px 80px rgba(5, 17, 38, 0.55);
}

* { box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background:
        radial-gradient(circle at 8% 4%, rgba(56, 189, 248, 0.2), transparent 24%),
        radial-gradient(circle at 92% 88%, rgba(34, 197, 94, 0.1), transparent 22%),
        linear-gradient(135deg, #07101f 0%, #0f172a 48%, #111b33 100%);
    color: var(--ink);
    min-height: 100vh;
    margin: 0;
    padding: 28px;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(125, 211, 252, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(125, 211, 252, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.portal-container {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 38px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    z-index: 1;
}

.portal-header { text-align: center; margin-bottom: 30px; }
.main-heading {
    margin: 0 0 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: 0.12em;
    color: transparent;
    background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
}
.conference-date {
    display: inline-block;
    margin: 4px 0 18px;
    color: #e0f2fe;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid rgba(125, 211, 252, 0.38);
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--cyan-soft);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.home-button:hover { transform: translateY(-2px); background: rgba(56, 189, 248, 0.2); border-color: var(--cyan); }
.home-link-row { position: relative; z-index: 1; margin: 18px auto 0; text-align: center; }
.sub-heading { color: var(--muted); line-height: 1.5; margin: 7px 0; }
.header-divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

input, select, textarea {
    font: inherit;
    color: var(--ink);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.14);
    transform: translateY(-1px);
}

button {
    font: inherit;
    border-radius: 12px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
button:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 12px 28px rgba(56, 189, 248, 0.16); }

#otpGateway {
    background: rgba(0, 0, 0, 0.2);
    border: none !important;
    box-shadow: 0 18px 45px rgba(5, 17, 38, 0.24);
}

.admin-card, .abstract-card {
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 18px 54px rgba(8, 20, 44, 0.22);
}

.site-footer {
    position: relative;
    max-width: 1120px;
    margin: 18px auto 0;
    padding: 18px 8px 4px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    z-index: 1;
}
.site-footer a { color: var(--cyan-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-column { min-width: 0; }
.footer-column:last-child { text-align: right; }
.footer-label { display: block; margin-bottom: 4px; color: var(--cyan-soft); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-contact { margin-top: 14px; text-align: center; }

@media (max-width: 720px) {
    body { padding: 14px; }
    .portal-container { padding: 24px 18px; border-radius: 18px; }
    .main-heading { letter-spacing: 0.08em; }
    .data-grid, .search-box { grid-template-columns: 1fr !important; }
    .controls { flex-direction: column; }
    .controls button { width: 100% !important; margin-left: 0; }
    table { display: block; overflow-x: auto; white-space: nowrap; }
    .footer-grid { grid-template-columns: 1fr; gap: 14px; }
    .footer-column:last-child { text-align: left; }
    .footer-contact { text-align: left; }
}
.sub-sub-heading { color: #fffefc; font-size: 1em; margin-top: 4px; font-weight: 1000; font-family: Arial, Helvetica, sans-serif;}