/* Global overrides for frontpage (keep header spacing small here) */

/* Header spacing controlled here per request */
body > header {
  padding: 12px 15px; /* smaller top/bottom padding */
  min-height: 60px;    /* small minimum height */
}

/* Progress overlay handled in student.css; no overrides here */

/* Feature Panel - Sliding panel for feature pages */
.feature-panel {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 95%;
    height: 95%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.feature-panel.active {
    transform: translateX(-50%) translateY(0);
}

.feature-panel-iframe {
    flex: 1;
    border: none;
    width: 100%;
    height: 100%;
    background: white;
}

/* Overlay backdrop when panel is open */
.feature-panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: none;
}

.feature-panel-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}