:root {
    --primary: #00b7b7;
    --primary-hover: #068e8e;
    --accent: #d4af37;
    --background: #020507;
    --surface: rgba(5, 18, 24, 0.78);
    --surface-border: rgba(0, 183, 183, 0.26);
    --text-main: #e9f5f4;
    --text-muted: #7e9f9d;
    --error: #ef4444;
    --success: #10b981;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hologram-glow: rgba(0, 210, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.registration-body {
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 183, 183, 0.18), transparent 38%),
        radial-gradient(circle at 80% 85%, rgba(212, 175, 55, 0.14), transparent 36%),
        radial-gradient(circle at center, #061319 0%, var(--background) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 1.25rem;
    overflow-y: auto;
}

/* Hologram Scene Setup */
.hologram-scene {
    position: relative;
    width: 100%;
    max-width: 860px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    perspective: 1200px;
}

.hologram-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 10;
}

/* Light Beams from standard projector */
.light-beams {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 120%;
    background:
        linear-gradient(to top, rgba(0, 210, 255, 0.2) 0%, transparent 80%),
        repeating-linear-gradient(90deg, transparent 0%, rgba(0, 210, 255, 0.05) 5%, transparent 10%);
    clip-path: polygon(25% 100%, 75% 100%, 100% 0, 0 0);
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
    animation: flicker 4s infinite alternate;
}

.light-beams::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom center, rgba(13, 241, 217, 0.3) 0%, transparent 60%);
}

.projector-base {
    position: absolute;
    bottom: -100px;
    width: 250px;
    height: 60px;
    background: linear-gradient(to bottom, #0a2125, #02080a);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -10px 30px rgba(13, 241, 217, 0.5);
    z-index: 0;
}

/* Hologram Card */
.hologram-card {
    background: linear-gradient(160deg, rgba(6, 18, 24, 0.96), rgba(2, 8, 11, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 183, 0.33);
    border-radius: 16px;
    padding: 1rem 1.5rem 1.2rem;
    width: 100%;
    max-width: 560px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.4),
        0 0 36px rgba(0, 183, 183, 0.16),
        inset 0 0 22px rgba(0, 183, 183, 0.09);
    position: relative;
    overflow: hidden;
    transform: rotateX(4deg) translateY(-4px);
    z-index: 10;
}

.hologram-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 183, 183, 0.16), transparent);
    transform: translateX(-100%);
    animation: panelSweep 4.5s linear infinite;
}

@keyframes panelSweep {
    100% {
        transform: translateX(100%);
    }
}

/* Scanline effect */
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(13, 241, 217, 0.5);
    box-shadow: 0 0 10px rgba(13, 241, 217, 0.8);
    opacity: 0.5;
    animation: scan 3s linear infinite;
    z-index: 20;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes flicker {
    0% {
        opacity: 0.8;
    }

    5% {
        opacity: 0.9;
    }

    10% {
        opacity: 0.8;
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.header-decoration {
    font-size: 0.68rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
    letter-spacing: 0.16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    opacity: 0.8;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(229, 183, 95, 0.35);
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.7px;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.input-group {
    margin-bottom: 0.85rem;
    position: relative;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group select {
    width: 100%;
    padding: 0.72rem 0.85rem;
    background: rgba(0, 183, 183, 0.07);
    border: 1px solid rgba(0, 183, 183, 0.28);
    border-radius: 8px;
    color: #fff;
    font-size: 0.92rem;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color-scheme: dark;
    padding-right: 2.5rem;
    font-weight: 500;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%230df1d9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

.input-group select option {
    background: #041116;
    color: #e9f5f4;
    font-size: 0.92rem;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 183, 183, 0.24);
    background: rgba(0, 183, 183, 0.14);
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 74px;
    border: 1px dashed rgba(0, 183, 183, 0.45);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 183, 183, 0.06);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(0, 183, 183, 0.11);
    box-shadow: 0 0 15px rgba(0, 183, 183, 0.14);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    pointer-events: none;
}

.file-upload-text i {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(13, 241, 217, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(90deg, rgba(0, 183, 183, 0.2), rgba(6, 142, 142, 0.14));
    color: #d9ffff;
    border: 1px solid rgba(0, 183, 183, 0.58);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 0.4rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 241, 217, 0.2), transparent);
    transition: var(--transition);
}

.submit-btn:hover {
    background: linear-gradient(90deg, rgba(0, 183, 183, 0.28), rgba(6, 142, 142, 0.2));
    box-shadow: 0 0 25px rgba(0, 183, 183, 0.34);
}

.submit-btn:hover::before {
    left: 100%;
    transition: 0.6s;
}

.submit-btn:active {
    transform: scale(0.98);
}

.payment-info {
    background: rgba(0, 183, 183, 0.08);
    border: 1px solid rgba(0, 183, 183, 0.22);
    border-radius: 10px;
    padding: 0.52rem 0.8rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#feeInfo {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.14), rgba(0, 183, 183, 0.08));
}

.qr-placeholder {
    width: 36px;
    height: 36px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.payment-text h4 {
    margin-bottom: 0.1rem;
    font-size: 0.85rem;
    color: #fff;
}

.payment-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #02080a;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(13, 241, 217, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(13, 241, 217, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.submit-btn.loading .loader {
    display: block;
}

.submit-btn.loading span {
    display: none;
}


/* ADMIN DASHBOARD STYLES - Clean, No Hologram, Matching Theme */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--background);
}

.sidebar {
    width: 260px;
    background: rgba(4, 21, 25, 0.9);
    border-right: 1px solid var(--surface-border);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
    padding-right: 0.35rem;
}

.nav-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(13, 241, 217, 0.16);
    border-radius: 999px;
}

.nav-section-title {
    margin: 1.1rem 0 0.15rem;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.nav-section-title:first-of-type {
    margin-top: 0.5rem;
}

.nav-item {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-item span {
    flex: 1;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(13, 241, 217, 0.1);
    color: #fff;
}

.nav-item.active {
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.main-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.dashboard-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(4, 21, 25, 0.6);
    border: 1px solid rgba(13, 241, 217, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card .title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.data-table-wrapper {
    background: rgba(4, 21, 25, 0.5);
    border: 1px solid rgba(13, 241, 217, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(13, 241, 217, 0.05);
}

th {
    background: rgba(4, 21, 25, 0.8);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: var(--text-main);
    font-size: 0.95rem;
}

.event-cell {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.event-group {
    color: var(--text-muted);
    font-size: 0.78rem;
}

tr:hover td {
    background: rgba(13, 241, 217, 0.03);
}

.view-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(13, 241, 217, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background: rgba(13, 241, 217, 0.1);
}

.view-btn:disabled {
    border-color: rgba(126, 159, 157, 0.22);
    color: var(--text-muted);
    cursor: not-allowed;
    background: transparent;
    opacity: 0.6;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 8, 10, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #02080a;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(13, 241, 217, 0.2);
    max-width: 90%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(13, 241, 217, 0.1);
}

.modal-close {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-img {
    max-width: 100%;
    max-height: calc(90vh - 2rem);
    border-radius: 8px;
    display: block;
}

.modal-frame {
    width: min(80vw, 960px);
    height: min(78vh, 760px);
    border: none;
    border-radius: 8px;
    background: #fff;
    display: block;
}

.modal-img[hidden],
.modal-frame[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .registration-body {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .hologram-scene {
        min-height: auto;
        padding: 0.25rem;
        max-width: 100%;
    }

    .hologram-container {
        width: 100%;
    }

    .light-beams {
        width: 120%;
        height: 95%;
        bottom: -72px;
        filter: blur(6px);
    }

    .projector-base {
        width: 170px;
        height: 40px;
        bottom: -70px;
    }

    .hologram-card {
        padding: 0.95rem 0.9rem 1rem;
        transform: none;
        max-width: 100%;
        border-radius: 12px;
    }

    .form-header {
        margin-bottom: 0.75rem;
    }

    .form-header h2 {
        font-size: 1.65rem;
        letter-spacing: 2px;
    }

    .form-header p {
        font-size: 0.72rem;
        letter-spacing: 0.4px;
    }

    .header-decoration {
        font-size: 0.58rem;
        letter-spacing: 0.11rem;
        gap: 0.25rem;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .input-group {
        margin-bottom: 0.65rem;
    }

    .input-group label {
        font-size: 0.69rem;
        margin-bottom: 0.22rem;
    }

    .input-group input[type="text"],
    .input-group input[type="email"],
    .input-group input[type="tel"],
    .input-group select {
        font-size: 0.9rem;
        padding: 0.66rem 0.78rem;
        border-radius: 7px;
    }

    .payment-info {
        padding: 0.5rem 0.62rem;
        gap: 0.6rem;
        margin-bottom: 0.62rem;
    }

    .qr-placeholder {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .payment-text h4 {
        font-size: 0.78rem;
    }

    .payment-text p {
        font-size: 0.69rem;
    }

    .file-upload-wrapper {
        height: 64px;
    }

    .file-upload-text {
        font-size: 0.78rem;
    }

    .submit-btn {
        padding: 0.66rem;
        font-size: 0.82rem;
        letter-spacing: 1px;
        margin-top: 0.2rem;
    }

    .toast {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        padding: 0.75rem 0.9rem;
    }

    .admin-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(13, 241, 217, 0.1);
    }

    .nav-menu {
        flex-direction: column;
        max-height: 280px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 0;
    }

    .nav-item {
        white-space: normal;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .data-table-wrapper {
        overflow-x: auto;
    }

    .modal-content {
        width: calc(100vw - 1.5rem);
        max-width: none;
    }

    .modal-frame {
        width: 100%;
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .registration-body {
        padding: 0.5rem;
    }

    .hologram-card {
        padding: 0.85rem 0.72rem 0.92rem;
    }

    .form-header h2 {
        font-size: 1.45rem;
        letter-spacing: 1.5px;
    }

    .form-header p {
        font-size: 0.68rem;
    }

    .input-group label {
        font-size: 0.66rem;
    }

    .input-group input[type="text"],
    .input-group input[type="email"],
    .input-group input[type="tel"],
    .input-group select {
        font-size: 0.86rem;
        padding: 0.62rem 0.72rem;
    }

    .submit-btn {
        font-size: 0.76rem;
    }
}
