* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F5F4F1;
    color: #1A1918;
    -webkit-font-smoothing: antialiased;
    max-width: 402px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 24px 19px;
    height: 62px;
}

.status-time {
    font-size: 17px;
    font-weight: 600;
    color: #000000;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.header-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1A1918;
}

.notif-btn {
    width: 44px;
    height: 44px;
    border-radius: 100px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(26, 25, 24, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.content {
    padding: 20px 24px;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 104px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #1A1918;
    margin-bottom: 12px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.feature-card {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    gap: 16px;
    height: 120px;
    box-shadow: 0 2px 12px rgba(26, 25, 24, 0.08);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.feature-card:active {
    transform: scale(0.98);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.green { background: #3D8A5A; }
.feature-icon.orange { background: #D89575; }
.feature-icon.dark-green { background: #4D9B6A; }

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #1A1918;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 13px;
    color: #6D6C6A;
}

.history-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(26, 25, 24, 0.08);
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
}

.history-item:not(:last-child) {
    border-bottom: 1px solid #E5E4E1;
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon.light-green { background: #C8F0D8; }

.history-text {
    flex: 1;
}

.history-title {
    font-size: 14px;
    font-weight: 500;
    color: #1A1918;
    margin-bottom: 2px;
}

.history-time {
    font-size: 12px;
    color: #9C9B99;
}

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 402px;
    background: #FFFFFF;
    box-shadow: 0 -1px 8px rgba(26, 25, 24, 0.08);
    padding: 12px 0 34px;
    display: flex;
    justify-content: space-around;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    cursor: pointer;
    text-decoration: none;
}

.tab-icon {
    width: 22px;
    height: 22px;
}

.tab-item.active .tab-icon { color: #3D8A5A; }
.tab-item.active .tab-label { color: #3D8A5A; font-weight: 600; }
.tab-item:not(.active) .tab-icon { color: #A8A7A5; }
.tab-item:not(.active) .tab-label { color: #A8A7A5; font-weight: 500; }

.tab-label {
    font-size: 10px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E4E1;
    border-top-color: #3D8A5A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

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