body { font-size: .875rem; background-color: #f8f9fa; } .sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; padding: 56px 0 0; box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); } .sidebar .nav-link { font-weight: 500; color: #333; padding: .5rem 1rem; } .sidebar .nav-link:hover { background-color: #e9ecef; } .sidebar .nav-link i { margin-right: 8px; width: 20px; } main { padding-top: 20px; } .card { box-shadow: 0 1px 3px rgba(0,0,0,.1); } .table th { border-top: none; } .badge { font-size: 85%; } .navbar-brand i { margin-right: 8px; } @media (max-width: 768px) { .sidebar { position: static; padding-top: 0; } } /* ============================================================================== Login Page Modern Styling & Support Bot Mascot ============================================================================== */ .login-container { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; } .login-card-wrapper { background: #ffffff; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8); max-width: 980px; width: 100%; } .login-hero-side { background: linear-gradient(135deg, #070e20 0%, #0f2b6b 45%, #0284c7 100%); color: #ffffff; padding: 3rem 2.5rem; position: relative; display: flex; flex-direction: column; justify-content: space-between; } .login-hero-side::before { content: ''; position: absolute; top: -20%; left: -20%; width: 140%; height: 140%; background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.16) 0%, transparent 60%); pointer-events: none; } .bot-avatar-wrapper { position: relative; display: inline-block; margin: 1.25rem 0; text-align: center; } .bot-avatar-img { width: 145px; height: 145px; filter: drop-shadow(0 16px 24px rgba(2, 6, 23, 0.5)); animation: floatBot 4s ease-in-out infinite; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); } .bot-avatar-img:hover { transform: scale(1.08) rotate(-3deg); } @keyframes floatBot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } } .bot-status-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(8px); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 9999px; padding: 0.35rem 0.85rem; font-size: 0.78rem; font-weight: 500; color: #e2e8f0; } .bot-status-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; } .login-feature-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: #cbd5e1; margin-bottom: 0.75rem; } .login-feature-icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; } .login-form-side { padding: 3.5rem 3rem; background: #ffffff; } .login-input-group .input-group-text { background-color: #f8fafc; border-color: #cbd5e1; color: #64748b; border-top-left-radius: 12px; border-bottom-left-radius: 12px; padding-left: 1rem; padding-right: 1rem; } .login-input-group .form-control { border-color: #cbd5e1; border-top-right-radius: 12px; border-bottom-right-radius: 12px; padding: 0.75rem 1rem; font-size: 0.95rem; } .login-input-group .form-control:focus { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); } .password-toggle-btn { border-color: #cbd5e1; background-color: #f8fafc; color: #64748b; border-top-right-radius: 12px; border-bottom-right-radius: 12px; cursor: pointer; } .password-toggle-btn:hover { color: #0f172a; background-color: #e2e8f0; } .btn-login { background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%); border: none; border-radius: 12px; padding: 0.85rem; font-weight: 600; font-size: 1rem; color: #ffffff; transition: all 0.25s ease; } .btn-login:hover { background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%); box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4); transform: translateY(-1px); color: #ffffff; } .demo-account-chip { cursor: pointer; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 8px; padding: 0.4rem 0.75rem; font-size: 0.78rem; font-weight: 500; color: #475569; transition: all 0.2s ease; user-select: none; } .demo-account-chip:hover { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; transform: translateY(-1px); } /* ============================================================================== Segmented Tabs & Social Buttons for Multi-Channel Login ============================================================================== */ .login-segmented-tabs { display: flex; background: #f1f5f9; border-radius: 14px; padding: 5px; margin-bottom: 1.5rem; gap: 6px; } .login-tab-btn { flex: 1; border: none; background: transparent; padding: 0.65rem 0.85rem; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: #64748b; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .login-tab-btn:hover { color: #0f172a; } .login-tab-btn.active { background: #ffffff; color: #0284c7; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04); } .login-tab-btn.active.staff-active { color: #4f46e5; } .login-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0 1rem; color: #94a3b8; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; } .login-divider::before, .login-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e2e8f0; } .login-divider:not(:empty)::before { margin-right: .75em; } .login-divider:not(:empty)::after { margin-left: .75em; } .btn-social-fb { border: 1px solid #cbd5e1; background: #ffffff; color: #1877f2; font-weight: 600; font-size: 0.9rem; border-radius: 12px; padding: 0.65rem 1rem; transition: all 0.2s ease; text-decoration: none; } .btn-social-fb:hover { background: #f0f6ff; border-color: #1877f2; color: #0c56be; } .staff-badge-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(79, 70, 229, 0.1); color: #4f46e5; border: 1px solid rgba(79, 70, 229, 0.2); border-radius: 9999px; padding: 0.25rem 0.65rem; font-size: 0.75rem; font-weight: 600; } .client-badge-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(2, 132, 199, 0.1); color: #0284c7; border: 1px solid rgba(2, 132, 199, 0.2); border-radius: 9999px; padding: 0.25rem 0.65rem; font-size: 0.75rem; font-weight: 600; } .social-auth-wrapper { width: 100%; display: flex; flex-direction: column; align-items: center; } .social-auth-wrapper .g_id_signin { max-width: 100%; } .social-auth-wrapper .g_id_signin iframe { max-width: 100% !important; } /* ============================================================================== Mobile & Responsive Optimization for Login Page ============================================================================== */ @media (max-width: 991.98px) { .login-container { padding: 1.25rem 0.5rem; min-height: auto; } .login-card-wrapper { border-radius: 20px; max-width: 620px; margin: 0 auto; box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.15); } .login-hero-side { padding: 1.5rem 1.5rem; flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .login-hero-brand { flex: 1; } .hero-title { font-size: 1.35rem; } .bot-avatar-wrapper { margin: 0; flex-shrink: 0; } .bot-avatar-img { width: 72px; height: 72px; margin-bottom: 0 !important; } .login-form-side { padding: 2.25rem 2rem; } } @media (max-width: 575.98px) { .login-container { padding: 0.6rem 0.2rem; } .login-card-wrapper { border-radius: 16px; border: 1px solid #e2e8f0; } .login-hero-side { padding: 1.15rem 1rem; gap: 0.75rem; } .hero-badge { font-size: 0.68rem !important; padding: 0.2rem 0.5rem !important; } .hero-title { font-size: 1.15rem; margin-bottom: 0 !important; } .bot-avatar-img { width: 58px; height: 58px; } .login-form-side { padding: 1.35rem 0.95rem; } .form-title { font-size: 1.2rem; } .form-subtitle { font-size: 0.8rem; } .login-segmented-tabs { border-radius: 10px; padding: 3px; margin-bottom: 1rem; gap: 3px; } .login-tab-btn { padding: 0.5rem 0.35rem; font-size: 0.78rem; gap: 5px; border-radius: 8px; } .tab-label-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .login-input-group .form-control { font-size: 0.9rem; padding: 0.65rem 0.75rem; } .login-input-group .input-group-text { padding-left: 0.75rem; padding-right: 0.75rem; } .password-toggle-btn { padding-left: 0.75rem; padding-right: 0.75rem; } .btn-login { padding: 0.75rem 0.85rem; font-size: 0.92rem; } .btn-social-fb { padding: 0.6rem 0.75rem; font-size: 0.84rem; } .demo-account-chip { padding: 0.35rem 0.55rem; font-size: 0.72rem; } .login-divider { margin: 1.15rem 0 0.85rem; font-size: 0.7rem; } } @media (max-width: 360px) { .login-tab-btn { font-size: 0.72rem; padding: 0.45rem 0.2rem; gap: 3px; } .hero-title { font-size: 1.05rem; } .bot-avatar-img { width: 48px; height: 48px; } }