/* ═══════════════════════════════════════════════════════
   TICK TOCK — LEAVE PORTAL STYLES
   Matching the main WorkMeter dark sidebar + light content design
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #0f172a;
    --bg-sidebar-hover: #1e293b;
    --bg-input: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-bg: rgba(99, 102, 241, 0.08);
    
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --info: #3b82f6;
    --info-bg: #eff6ff;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 32px 64px -16px rgba(26,32,44,0.1);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --sidebar-width: 240px;
    --transition: 0.2s ease;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── Screen Management ─── */
.screen { display: none; }
.screen.active { display: flex; }

#login-screen {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

#app-screen {
    min-height: 100vh;
    width: 100%;
}

/* ═══════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════ */
.login-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: #e0e7ff;
    opacity: 0.4;
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: #e2e8f0;
    opacity: 0.5;
}

.login-card {
    width: 100%;
    max-width: 440px;
    margin: 0 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    background: var(--bg-sidebar);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-logo {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(99,102,241,0.3);
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.login-divider-line {
    height: 2px;
    width: 16px;
    background: var(--accent);
}

.login-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-body {
    padding: 40px 48px;
}

.login-footer {
    padding: 24px 48px;
    background: rgba(248,250,252,0.5);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.login-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.footer-label {
    font-size: 8px;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-value-green {
    color: var(--success);
}

.login-footer-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.login-copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
}

/* ═══════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 2px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    transition: color var(--transition);
}

.input-wrapper:focus-within .input-icon {
    color: var(--accent);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 20px 14px 52px;
    background: var(--bg-input);
    border: 2px solid var(--bg-input);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition);
}

.input-wrapper input::placeholder {
    color: #cbd5e1;
}

.input-wrapper input:focus {
    background: var(--bg-card);
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.05);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 2px solid var(--bg-input);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    background: var(--bg-card);
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='m4.427 6.927 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 6.5H4.604a.25.25 0 0 0-.177.427z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ─── Alerts ─── */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
    animation: shakeIn 0.3s ease;
}

@keyframes shakeIn {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

.alert-error {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid #fecaca;
}

.alert-success {
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid #a7f3d0;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--bg-sidebar);
    color: var(--text-white);
    padding: 16px 28px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.1);
}

.btn-primary:hover {
    background: var(--accent);
}

.btn-primary:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 12px;
}

.btn-outline:hover {
    background: var(--bg-input);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
}

.btn-danger-sm {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 6px 12px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}

.btn-danger-sm:hover {
    background: var(--danger);
    color: white;
}

.btn-arrow {
    transition: transform var(--transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 12px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 4px;
}

.nav-item:hover {
    background: var(--bg-sidebar-hover);
    color: var(--text-white);
}

.nav-item.active {
    background: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    flex-shrink: 0;
}

.logout-btn:hover {
    color: var(--danger);
    background: rgba(239,68,68,0.1);
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════ */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 32px 40px;
    min-height: 100vh;
}

.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.page-actions {
    display: flex;
    gap: 8px;
}

/* ═══════════════════════════════════════════
   STATS CARDS
   ═══════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-present .stat-icon { background: var(--success-bg); color: var(--success); }
.stat-absent .stat-icon { background: var(--danger-bg); color: var(--danger); }
.stat-leave .stat-icon { background: var(--warning-bg); color: var(--warning); }
.stat-holidays .stat-icon { background: var(--info-bg); color: var(--info); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
   CARDS & TABLES
   ═══════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-body {
    padding: 28px;
}

.sync-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sync-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    padding: 14px 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    background: var(--bg-input);
    border-bottom: 1px solid var(--border-light);
}

.data-table tbody td {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(99,102,241,0.02);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.table-empty {
    text-align: center !important;
    color: var(--text-muted) !important;
    padding: 48px 20px !important;
    font-style: italic;
}

/* ─── Status Badges ─── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-present { background: var(--success-bg); color: var(--success); }
.badge-absent { background: var(--danger-bg); color: var(--danger); }
.badge-leave { background: var(--warning-bg); color: var(--warning); }
.badge-half-day { background: var(--info-bg); color: var(--info); }
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-approved, .badge-manager-approved { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }

/* ─── Time Display ─── */
.time-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.time-display svg {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   RESPONSIVE & MOBILE HEADER
   ═══════════════════════════════════════════ */

/* Mobile Header (Hidden by Default) */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-sidebar);
    color: white;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(15,23,42,0.1);
}

.mobile-toggle-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(2px);
    z-index: 95;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #app-screen {
        flex-direction: column;
    }

    .mobile-header {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar.open + .mobile-header + .sidebar-overlay,
    .sidebar.open ~ .sidebar-overlay {
        display: block;
        opacity: 1;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .login-body, .login-header, .login-footer {
        padding: 24px 20px;
    }

    .card {
        margin-bottom: 16px;
    }

    .card-header, .card-body {
        padding: 16px;
    }

    .tracker-box {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        margin-bottom: 20px;
    }
    
    .page-header .page-actions {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   LEAVE TRACKER & RESPONSIVE TABLE (NEW UI)
   ═══════════════════════════════════════════ */
.leave-tracker-card {
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.leave-tracker-header {
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.leave-tracker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
}

.tracker-box {
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.tracker-quota {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
}

.tracker-used {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.tracker-available {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.tracker-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tracker-value {
    font-size: 24px;
    font-weight: 700;
}

.tracker-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.tracker-desc {
    font-size: 10px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 8px;
}

.text-danger { color: #ef4444; }
.text-success { color: #16a34a; }
.tracker-used .tracker-sub { color: #ef4444; }
.tracker-available .tracker-sub { color: #16a34a; }

/* Mobile adjustments for Tracker and Tables */
@media (max-width: 640px) {
    .leave-tracker-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs .btn {
        flex-shrink: 0;
    }

    /* Stack Table for Mobile */
    .mobile-responsive-table thead {
        display: none;
    }
    
    .mobile-responsive-table tbody tr {
        display: block;
        border: 1px solid var(--border-light);
        margin-bottom: 16px;
        border-radius: 8px;
        background: var(--bg-card);
        padding: 8px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    
    .mobile-responsive-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px !important;
        text-align: right !important;
        border-bottom: 1px solid var(--border-light);
    }

    .mobile-responsive-table tbody td:last-child {
        border-bottom: none;
    }

    .mobile-responsive-table tbody td::before {
        content: attr(data-label);
        font-size: 10px;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        margin-right: auto; /* Push real content to right */
    }

    /* Target specific td internal content if needed to right align */
    .mobile-row td span {
        text-align: right;
    }
}
