
        body {
            background: #1c1c1e;
            color: #ffffff;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            margin: 0;
            padding: 0 0 140px 0;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 10px;
        }
        .header {
            text-align: center;
            margin-bottom: 0;
            position: relative;
            transform: translateY(-10px);
        }
        .header h1 {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: -2px;
            margin: 0;
            background: linear-gradient(45deg, #007aff, #34c759, #007aff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
            position: relative;
            z-index: 1;
        }
        
        .section {
            background: #252527;
            border-radius: 30px;
            padding: 40px;
            box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .section.hidden {
            transform: translateY(40px);
            opacity: 0;
            pointer-events: none;
        }
        h2 {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffff;
            letter-spacing: -0.8px;
        }
        #dashboard h2, #delivered h2, #settings h2 {
            font-size: 25px;
            text-align: center;
        }
        #delivery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c1c1e;
    border-radius: 0;
    padding: 20px 15px;
    box-shadow: none;
    overflow-y: auto;
    z-index: 1000;
    transform: none !important; /* Override any transform */
}

    #delivery h2 {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 400;
    transform: translateY(10px);
}


    #delivery-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    #delivered {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c1c1e;
    border-radius: 0;
    padding: 20px 15px;
    box-shadow: none;
    overflow-y: auto;
    z-index: 1000;
    transform: none !important; /* Override any transform */
    padding-bottom: 90px; /* 👈 Add this */
}

    #delivered h2 {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 400;
    transform: translateY(10px);
}

    #delivered-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
        .order-card {
        background: #2c2c2e;
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 10px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
        .order-card p {
        margin: 6px 0;
        font-size: 0.95rem;
        opacity: 0.9;
        line-height: 1.4;
    }
    .order-card .status {
        font-weight: 600;
        color: #34c759;
        font-size: 0.9rem;
    }
    .order-card .status.not-delivered {
        color: #ff3b30;
    }
    .btn {
        background: #007aff;
        color: #fff;
        padding: 14px 28px;
        border-radius: 14px;
        font-weight: 500;
        text-emphasis: center;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
        .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        .btn-edit {
            background: #34c759;
        }
        .btn-secondary {
            background: #ff3b30;
        }
        .notification {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #34c759;
            padding: 16px 32px;
            border-radius: 14px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
            z-index: 3000;
            opacity: 0;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: 90%;
            width: auto;
            pointer-events: none;
        }
        .notification.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
            pointer-events: auto;
        }
        .notification.error {
            background: #ff3b30;
        }
        .notification.warning {
            background: #ff9500;
        }
        .notification i {
            font-size: 1.2rem;
        }
        .footer-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(44, 44, 46, 0.9);
            backdrop-filter: blur(20px);
            padding: 12px 0;
            display: flex;
            justify-content: space-around;
            flex-wrap: nowrap;
            gap: 8px;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
            z-index: 1000;
            align-items: center;
            height: auto;
            min-height: 70px;
        }
        .footer-nav button {
            background: none;
            color: #a1a1a6;
            padding: 8px 12px;
            font-size: clamp(0.8rem, 2.5vw, 1rem);
            font-weight: 500;
            border-radius: 12px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            flex: 1 1 auto;
            min-width: 60px;
            max-width: 100px;
            position: relative;
            height: 100%;
            min-height: 50px;
        }
        .footer-nav button i {
            font-size: clamp(1.1rem, 3vw, 1.4rem);
            transition: transform 0.3s ease;
        }
        .footer-nav button span {
            font-size: clamp(0.7rem, 2vw, 0.9rem);
            transition: transform 0.3s ease;
        }
        .footer-nav button.active {
            background: #007aff;
            color: #fff;
            transform: translateY(-2px);
        }
        .footer-nav button.active i {
            transform: scale(1.1);
        }
        .footer-nav button.active span {
            transform: scale(1.05);
        }
        .footer-nav button:hover:not(.active) {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }
        .footer-nav button:active:not(.active) {
            transform: scale(0.95);
        }
        @media (max-width: 768px) {
            .footer-nav {
                padding: 10px 0;
                gap: 6px;
                min-height: 65px;
            }
            .footer-nav button {
                padding: 6px 10px;
                min-width: 55px;
            }
            .footer-nav button i {
                font-size: 1.2rem;
            }
            .footer-nav button span {
                font-size: 0.75rem;
            }
            #delivery {
            padding: 15px 10px;
            padding-bottom: 90px; /* 👈 Add this */
        }
        

        .order-card {
            padding: 12px;
        }
        .order-card p {
            font-size: 0.9rem;
        }
        
        }
        @media (max-width: 480px) {
            .footer-nav {
                padding: 8px 0;
                gap: 4px;
                min-height: 60px;
            }
            .footer-nav button {
                padding: 6px 8px;
                min-width: 50px;
                gap: 2px;
            }
            .footer-nav button i {
                font-size: 1.1rem;
            }
            .footer-nav button span {
                font-size: 0.7rem;
            }
            .footer-nav button.active {
                transform: translateY(-1px);
            }
            #delivery {
            padding: 10px 8px;
            padding-bottom: 90px; /* 👈 Add this */
        }
       

        .order-card {
            padding: 10px;
            margin-bottom: 8px;
        }
        .order-card p {
            font-size: 0.85rem;
        }
        
        }
        @media (max-width: 360px) {
            .footer-nav {
                padding: 6px 0;
                min-height: 55px;
            }
            .footer-nav button {
                padding: 4px 6px;
                min-width: 45px;
            }
            .footer-nav button i {
                font-size: 1rem;
            }
            .footer-nav button span {
                font-size: 0.65rem;
            }
        }
        #login-section { 
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: linear-gradient(135deg, #1c1c1e 0%, #252527 100%);
            z-index: 2000;
            overflow: hidden;
        }
        #login-section::before { 
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
            animation: pulse 10s infinite;
            z-index: 0;
        }
        #login-section .login-container {
            background: #2c2c2e;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
            width: 100%;
            max-width: 400px;
            z-index: 1;
            animation: fadeIn 0.5s ease;
            position: relative;
        }
        #login-section h1 {
            font-size: clamp(1.5rem, 5vw, 2.5rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 30px;
            background: linear-gradient(45deg, #007aff, #34c759);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .input-group {
            position: relative;
            margin-bottom: 15px;
        }
        .input {
            background: #343436;
            border: none;
            color: #fff;
            padding: 14px;
            border-radius: 12px;
            width: 100%;
            margin-bottom: 15px;
            font-size: clamp(0.875rem, 2.5vw, 1rem);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
            transition: all 0.2s ease;
            padding-right: 40px;
        }
        .input:focus {
            background: #3a3a3c;
            outline: none;
            transform: scale(1.02);
            box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
        }
        .input.error {
            border: 1px solid #ff3b30;
        }
        .password-toggle {
            position: absolute;
            right: 14px;
            top: 14px;
            background: none;
            border: none;
            color: #a1a1a6;
            cursor: pointer;
            transition: color 0.2s ease;
        }
        .password-toggle:hover {
            color: #fff;
        }
        .error-message {
            color: #ff3b30;
            font-size: 0.875rem;
            margin-top: 5px;
            display: none;
        }
        .error-message.show {
            display: block;
        }
        .loading-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }
        .loading-spinner.show {
            display: block;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        #login-section.hidden {
            display: none;
        }
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        .dashboard-card {
            background: #2c2c2e;
            padding: 20px;
            border-radius: 14px;
            text-align: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .dashboard-card h3 {
            font-size: clamp(1.1rem, 2.5vw, 1.5rem);
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 10px;
        }
        .dashboard-card p {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 700;
            color: #34c759;
        }
        @media (max-width: 768px) {
            .container { padding: 40px 15px; }
            .header h1 { font-size: 3.5rem; }
         
            h2 { font-size: 2.5rem; }
            .section { padding: 30px; }
            .order-card { padding: 25px; }
            .order-card p { font-size: 1.1rem; }
            .btn { padding: 12px 24px; font-size: 1rem; }
            .notification { padding: 14px 28px; font-size: 1rem; }
            .footer-nav { padding: 8px; gap: 8px; }
            .footer-nav button { padding: 8px 12px; font-size: 1.1rem; }
            .footer-nav button i { font-size: 1.3rem; }
            #login-section .login-container { padding: 30px; }
        }
        @media (max-width: 480px) {
            .header h1 {
                font-size: 2.3rem;
                text-align: center;
               
                transform: translateY(-10px);
            }
         
            h2 { font-size: 3rem; }
            .order-card p { font-size: 1rem; }
            .btn { padding: 12px 24px; font-size: 1rem; }
            .footer-nav {
                padding: 6px;
                gap: 6px;
                justify-content: center;
                height: 85px;
                padding: 10px 0;
            }
            .footer-nav button {
                padding: 10px 18px;
                font-size: 1rem;
            }
            .footer-nav button i {
                font-size: 1.2rem;
            }
            #login-section .login-container {
                padding: 20px;
                max-width: 90%;
                margin: 0 auto;
            }
            .input {
                padding: 12px;
                font-size: 16px;
            }
            .notification {
                font-size: 0.9rem;
                padding: 12px 24px;
                width: 90%;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 0.3; }
            100% { transform: scale(1); opacity: 0.5; }
        }
        /* Login notification styles */
        .login-notification {
            background: #ff3b30;
            color: #fff;
            padding: 12px 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            font-size: 1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            max-width: 100%;
            text-align: left;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        .login-notification.success {
            background: #34c759;
        }
        .login-notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        .login-notification i {
            font-size: 1.1rem;
        }
        @media (max-width: 480px) {
            .login-notification {
                font-size: 0.9rem;
                padding: 10px 16px;
            }
        }
        /* Dismiss button for no-hostels notification */
        .notification .dismiss-btn:hover {
            color: #ff3b30;
        }
    