/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    padding-bottom: 80px; /* Space for bottom navigation */
    position: relative;
    background-color: #f2f2f7; /* iOS background color */
}

/* Status Bar */
.status-bar {
    font-size: 12px;
    height: 20px;
    padding-top: 4px;
}

.status-bar .time {
    font-weight: 600;
}

.status-bar .status-icons {
    font-size: 11px;
}

.status-bar .status-icons i {
    margin-left: 4px;
}

/* Quick Actions */
.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Services */
.service {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 10px;
    width: 60px;
}

.bottom-nav a i {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-nav a.active {
    color: #3b82f6;
}

/* Scan Button in Bottom Nav */
.bottom-nav .scan-button {
    margin-bottom: 15px;
    position: relative;
    width: 70px;
}

.scan-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.5);
}

.scan-circle i {
    font-size: 24px;
}

.bottom-nav .scan-button span {
    margin-top: 25px;
}

/* QR Code Scanner Animation */
.scan-line {
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }
    50% {
        top: 100%;
    }
    100% {
        top: 0;
    }
}

/* Toggle Switch */
.toggle-checkbox:checked {
    right: 0;
    border-color: #3b82f6;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #3b82f6;
}

.toggle-checkbox {
    right: 0;
    z-index: 5;
    border-color: white;
}

.toggle-label {
    transition: background-color 0.2s ease;
}