* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #f1f5f9;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden
}

/* Screens */
.screen {
    min-height: 100vh
}

.hidden {
    display: none !important
}

/* Login */
.login-card {
    max-width: 380px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #818cf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.login-sub {
    text-align: center;
    color: #64748b;
    margin-bottom: 32px;
    font-size: 0.9rem
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s
}

input:focus,
select:focus,
textarea:focus {
    border-color: #818cf8
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    width: 100%
}

.btn-primary:hover {
    opacity: 0.9
}

.btn-secondary {
    background: #1e293b;
    color: #818cf8;
    border: 1px solid #818cf8;
    width: 100%;
    margin-bottom: 16px
}

.btn-ghost {
    background: transparent;
    color: #94a3b8
}

.btn-icon {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px
}

.error {
    color: #f87171;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 8px
}

/* Top Bar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #1e293b
}

.topbar-title {
    font-weight: 600;
    font-size: 1rem
}

.topbar-org {
    color: #64748b;
    font-size: 0.8rem
}

/* Timer */
.timer-section {
    text-align: center;
    padding: 40px 20px 32px
}

.timer-display {
    font-size: 3.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Inter', monospace
}

.timer-status {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 24px
}

.timer-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: none;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 2px;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3)
}

.timer-btn.start {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff
}

.timer-btn.start:hover {
    box-shadow: 0 4px 40px rgba(34, 197, 94, 0.4)
}

.timer-btn.stop {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    animation: pulse-ring 2s infinite
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4)
    }

    70% {
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0)
    }
}

/* Summary Cards */
.today-summary {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 16px
}

.summary-card {
    flex: 1;
    background: #1e293b;
    border-radius: 12px;
    padding: 16px;
    text-align: center
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #22d3ee
}

.summary-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 8px 0;
    padding-bottom: env(safe-area-inset-bottom, 8px);
    z-index: 10
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    font-family: inherit
}

.nav-btn span {
    font-size: 0.7rem
}

.nav-btn.active {
    color: #818cf8
}

/* Tab Content */
.tab-content {
    padding: 20px;
    padding-bottom: 80px
}

.tab-content h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #e2e8f0
}

/* Entries List */
.entries-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.entry-item {
    background: #1e293b;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.entry-date {
    font-weight: 500;
    font-size: 0.9rem
}

.entry-time {
    color: #64748b;
    font-size: 0.8rem
}

.entry-hours {
    font-weight: 600;
    color: #22d3ee;
    font-size: 0.95rem
}

.entry-status {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 100px;
    font-weight: 500
}

.entry-status.pending {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308
}

.entry-status.approved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e
}

.entry-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px
}

.modal-content {
    background: #1e293b;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px
}

.modal-content h3 {
    margin-bottom: 16px;
    font-size: 1.1rem
}

.modal-content label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 4px;
    margin-top: 8px
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px
}

.modal-actions .btn {
    flex: 1
}