* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: #F5F7FA;
    color: #000;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logo-container {
    text-align: center;
    margin-bottom: 50px;
}

.shark-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 18px 70px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:active {
    transform: scale(0.96);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-links {
    margin-top: 40px;
    text-align: center;
}

.auth-links p {
    color: #fff;
    font-size: 15px;
}

.auth-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-decoration: underline;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #F5F7FA;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.auth-form {
    width: 100%;
}

.btn-auth {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans', sans-serif;
    margin-top: 10px;
}

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

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-shark {
    width: 80px;
    height: 80px;
    animation: swim 1.5s ease-in-out infinite;
}

@keyframes swim {
    0%, 100% { transform: translateX(-20px) rotate(-5deg); }
    50% { transform: translateX(20px) rotate(5deg); }
}

/* Page with Footer */
.page-with-footer {
    min-height: 100vh;
    padding-bottom: 80px;
    background: #F5F7FA;
}

.page-header {
    padding: 20px 20px 15px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.page-content {
    padding: 20px;
}

/* Footer Navigation */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 8px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    padding: 5px;
    transition: all 0.2s;
}

.nav-item.active {
    color: #667eea;
}

.nav-item img {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
    opacity: 0.5;
    transition: all 0.2s;
}

.nav-item.active img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(44%) sepia(93%) saturate(1352%) hue-rotate(223deg) brightness(95%) contrast(92%);
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
}

.card-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.card-label {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Input Fields */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #E8EBED;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Noto Sans', sans-serif;
    background: #F9FAFB;
    transition: all 0.2s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: #fff;
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.stat-box:active {
    transform: scale(0.98);
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* List Items */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #F0F2F5;
}

.list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-item-left {
    flex: 1;
}

.list-item-title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 15px;
}

.list-item-subtitle {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.list-item-value {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.3px;
}

.positive {
    color: #10B981;
}

.negative {
    color: #EF4444;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-success {
    background: #D1FAE5;
    color: #059669;
}

.badge-pending {
    background: #FEF3C7;
    color: #D97706;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #F0F2F5;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

/* Checkin Button */
.checkin-btn {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin: 40px auto;
    display: block;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.checkin-btn:active {
    transform: scale(0.92);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.checkin-btn.completed {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
}

/* Section Title */
.section-title {
    font-size: 20px;
    font-weight: 800;
    margin: 30px 0 15px 0;
    color: #1F2937;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state img {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
}