.cyber-container *,
.cyber-container *::before,
.cyber-container *::after {
    box-sizing: border-box;
}
/* info-content */
/* Custom Scrollbar (Cyberpunk Style) */
.cyber-container::-webkit-scrollbar {
    width: 6px;
}

.cyber-container::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

.cyber-container::-webkit-scrollbar-thumb {
    background-color: var(--neon-cyan);
    border-radius: 3px;
}

/* =========================================
  LAYOUT & CONTAINER (FIX SCROLL)
  ========================================= */
.cyber-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--bg-deep);
}

.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* =========================================
  MAIN CARD COMPONENT
  ========================================= */
.cyber-card {
    position: relative;
    width: 100%;
    background: var(--bg-content-box);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-glow);
    color: var(--text-main);
    z-index: 1;
    margin: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Decorative Corners */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    transition: 0.3s;
    pointer-events: none;
}

.top-left {
    top: -1px;
    left: -1px;
    border-bottom: none;
    border-right: none;
}

.top-right {
    top: -1px;
    right: -1px;
    border-bottom: none;
    border-left: none;
}

.bottom-left {
    bottom: -1px;
    left: -1px;
    border-top: none;
    border-right: none;
}

.bottom-right {
    bottom: -1px;
    right: -1px;
    border-top: none;
    border-left: none;
}

/* =========================================
  HEADER SECTION (LOGO & IDENTITY)
  ========================================= */
.card-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px dashed var(--grid-line2);
    padding-bottom: 1.5rem;
}

/* Logo Area */
.logo-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.school-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    /* border: 2px solid var(--neon-cyan); */
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--neon-cyan);
    opacity: 0.2;
    filter: blur(3px);
    animation: pulse 3s infinite;
}

/* Text Identity */
.school-identity {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label-tech {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--neon-purple);
    margin: 0 0 0.5rem 0;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.school-name {
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--text-main), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
  EXAM INFO SECTION
  ========================================= */
.exam-section {
    background: rgba(0, 240, 255, 0.03);
    border-left: 4px solid var(--neon-green);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    /* Potongan sudut tech */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
}

.exam-status {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.blink-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: blink 1s infinite;
}

.exam-name {
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* =========================================
  DETAILS GRID
  ========================================= */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--grid-line2);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.full-width {
    grid-column: span 2;
}

.info-icon {
    font-size: 1.5rem;
    filter: grayscale(100%) brightness(1.2);
}

.info-content {
    overflow: hidden;
}

.info-content small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: 'Courier New', monospace;
    word-break: break-word;
}

/* =========================================
  FOOTER
  ========================================= */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-top: 1px solid var(--grid-line2);
    padding-top: 1rem;
}

.bar-code {
    letter-spacing: 3px;
    opacity: 0.6;
    font-weight: bold;
}

.highlight {
    color: var(--neon-red);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-red);
}
/* 1. TECH CARD */
.tech-card {
    /* Default Light Style */
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

/* Override Dark Mode */
body.dark-mode .tech-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
}

/* 2. FILE ITEM */
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;

    /* Default Light Style */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);

    transition: all 0.2s ease-out;
    cursor: pointer;
    transform: translateY(0);
}

/* Override Dark Mode */
body.dark-mode .file-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-glass);
    box-shadow: none;
}

/* Hover Effect Default (Light) */
.file-item:hover {
    background-color: #f0f8ff;
    border: 1px solid var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Hover Effect Dark Mode */
body.dark-mode .file-item:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}
/* =========================================
  ANIMATIONS
  ========================================= */
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }
}

/* =========================================
  RESPONSIVE (MOBILE FIX)
  ========================================= */
@media (max-width: 768px) {
    .cyber-container {
        padding: 10px;
        display: block;
    }

    .cyber-card {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 40px;
        padding: 1.5rem;
    }

    /* Header Responsive */
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .school-identity {
        width: 100%;
        align-items: center;
    }

    .school-name {
        font-size: 1.3rem;
    }

    /* Grid Responsive */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .full-width {
        grid-column: span 1;
    }
    .exam-section {
        text-align: center;
        padding: 1rem;
        border-left: none;
        border-top: 3px solid var(--neon-green);
        clip-path: none;
    }

    .exam-status {
        justify-content: center;
    }

    .exam-name {
        font-size: 1.2rem;
    }
    .card-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}