/* ===== GLOBAL STYLES & LAYOUT ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #333;
}

/* ===== HEADER & LOGO ===== */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.05);
}

.header-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.header-container h1 {
    margin-right: 15px;
    white-space: nowrap;
}

.admin-logo {
    height: 40px;
    width: auto;
    min-width: 40px;
    flex-shrink: 0;
}

/* ===== PANELS & SECTIONS ===== */
.panel {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 30px;
}

.info-panel {
    background-color: #f8f9fa;
    border-left: 4px solid #4CAF50;
}

.info-panel h3 {
    margin-top: 0;
    color: #333;
}

.info-panel pre {
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.info-panel ul {
    padding-left: 20px;
}

.info-panel li {
    margin-bottom: 5px;
}

/* ===== CURRENT DAY HIGHLIGHT ===== */
.current-day, .current-day-info {
    background-color: #e8f5e9;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 5px solid #4CAF50;
}

.current-day h3, .current-day-info h3 {
    margin-top: 0;
    color: #2e7d32;
}

/* ===== VIEWS ===== */
.view {
    display: none;
}

#mainView {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
    .header-container h1 {
        font-size: 1.5rem;
    }
    
    .admin-logo {
        height: 35px;
    }
}
/* NEW: Main action buttons that replace navbar - only visible on main view */
.main-action-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.main-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 80px;
    text-align: center;
}

.main-action-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.main-action-btn:active {
    transform: translateY(0);
}

.main-action-icon {
    width: 24px;
    height: 24px;
}

.main-action-text {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

/* Hide old nav-buttons if you want to keep them in HTML but hidden */
.nav-buttons {
    display: none;
}

/* Mobile optimizations for the new action buttons */
@media (max-width: 768px) {
    .main-action-buttons {
        margin: 20px 0;
        gap: 15px;
    }

    .main-action-btn {
        padding: 15px 20px;
        min-width: 90px;
        border-radius: 10px;
    }

    .main-action-icon {
        width: 28px;
        height: 28px;
    }

    .main-action-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-action-btn {
        padding: 12px 16px;
        min-width: 75px;
    }

    .main-action-icon {
        width: 24px;
        height: 24px;
    }

    .main-action-text {
        font-size: 11px;
    }
}

/* Mobile-friendly header container fix */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-container h1 {
        flex: 1;
        min-width: 0;
        margin-right: 0;
        font-size: 1.3rem;
    }
    
    .nav-buttons {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .admin-logo {
        order: 2;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .header-container h1 {
        font-size: 1.2rem;
    }
    
    .nav-button {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        min-width: 120px;
    }
    
    .nav-icon {
        width: 24px;
        height: 24px;
    }
}