/* =============================================================================
   CLASSROOM DISPLAY STYLES
   Vertical format: 1080px x 1920px (Full HD Portrait) for tablet displays
   Brand Colors from Atlantis University
   ============================================================================= */

:root {
    /* Theme color */
    --bs-primary: #F74E53;
    --bs-primary-rgb: 247,78,83;
    
    /* Brand companions */
    --brand-primary-dark: #D24247;
    --brand-primary-darker: #AD373A;
    --brand-primary-light: #F97175;
    --brand-teal: #26C0BB;
    
    /* Links */
    --bs-link-color: #F74E53;
    --bs-link-hover-color: #D24247;
    
    /* Focus ring */
    --bs-focus-ring-color: rgba(247,78,83,.25);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--gray-800);
    overflow: hidden;
}

/* =============================================================================
   MAIN CONTAINER - Fixed 1080x1920 display (Full HD Portrait)
   ============================================================================= */

.display-container {
    width: 1080px;
    height: 1920px;
    margin: 0 auto;
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =============================================================================
   HEADER SECTION
   ============================================================================= */

.classroom-header {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-bottom: 4px solid var(--bs-primary);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.university-logo {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 32px;
}

.university-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.university-name {
    display: flex;
    flex-direction: column;
}

.uni-main {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.uni-sub {
    font-size: 22px;
    font-weight: 400;
    color: var(--gray-400);
}

.datetime-section {
    text-align: right;
}

.current-time {
    font-size: 56px;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    color: var(--white);
}

.current-date {
    font-size: 20px;
    color: var(--gray-400);
    margin-top: var(--spacing-sm);
}

.room-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-700);
}

.room-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bs-primary);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
}

.room-icon {
    font-size: 28px;
}

.room-number {
    font-size: 32px;
    font-weight: 600;
}

.building-name {
    font-size: 22px;
    color: var(--gray-400);
}

/* =============================================================================
   CURRENT CLASS SECTION
   ============================================================================= */

.current-class-section {
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
}

.status-badge.in-session {
    background: var(--bs-primary);
    color: var(--white);
}

.status-badge.upcoming {
    background: var(--gray-800);
    color: var(--white);
}

.status-badge.available {
    background: var(--success);
    color: var(--white);
}

.pulse {
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.class-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-xl) var(--spacing-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.class-card.active {
    border-left: 6px solid var(--bs-primary);
    background: var(--white);
}

.class-card.upcoming {
    border-left: 6px solid var(--gray-800);
    background: var(--white);
}

.class-card .course-id {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: var(--spacing-sm);
}

.class-card.upcoming .course-id {
    color: var(--gray-800);
}

.class-card .course-name {
    font-size: 42px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.class-card .professor-name,
.class-card .class-time {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 28px;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.class-card .icon {
    font-size: 32px;
}

.class-card.empty {
    text-align: center;
    padding: var(--spacing-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
}

.no-class-message {
    font-size: 32px;
    color: var(--gray-500);
}

/* =============================================================================
   SCHEDULE SECTION
   ============================================================================= */

.schedule-section {
    padding: var(--spacing-xl) var(--spacing-2xl);
    flex: 1;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
    overflow-y: auto;
}

.schedule-item {
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.schedule-item.active {
    border-left: 6px solid var(--bs-primary);
    box-shadow: 0 4px 12px rgba(247, 78, 83, 0.15);
}

.schedule-time {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 600;
    color: var(--bs-primary);
    white-space: nowrap;
    min-width: 220px;
    display: flex;
    align-items: center;
}

.schedule-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-course {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.schedule-professor {
    font-size: 24px;
    color: var(--gray-500);
}

.schedule-days {
    font-size: 20px;
    color: var(--gray-500);
    margin-top: var(--spacing-xs);
}

.schedule-item.empty-schedule {
    justify-content: center;
    padding: var(--spacing-2xl);
}

/* =============================================================================
   CONTENT SECTION
   ============================================================================= */

.content-section {
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: var(--gray-900);
    color: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.content-message {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.announcements {
    background: var(--gray-800);
    border-radius: 12px;
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-700);
    flex: 1;
    overflow-y: auto;
}

.announcements-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--white);
}

.announcements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.announcements-list li {
    padding-left: var(--spacing-xl);
    position: relative;
    font-size: 26px;
    color: var(--gray-300);
    line-height: 1.5;
}

.announcements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-size: 28px;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.display-footer {
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: var(--gray-900);
    border-top: 1px solid var(--gray-700);
    text-align: center;
}

.footer-text {
    font-size: 16px;
    color: var(--gray-400);
}

/* =============================================================================
   RESPONSIVE ADJUSTMENTS (for testing on smaller screens)
   ============================================================================= */

@media (max-width: 1080px) {
    .display-container {
        width: 100vw;
        height: 100vh;
    }
}
