/* styles/main.css */
:root {
    --device-width: 393px;
    --device-height: 852px;
}

.device-container {
    width: var(--device-width);
    margin: 0 auto;
}

.device-frame {
    width: var(--device-width);
    height: var(--device-height);
    border-radius: 45px;
    border: 12px solid #1a1a1a;
    overflow: hidden;
    position: relative;
    background: white;
}

.ios-status-bar {
    height: 44px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
}

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

.ios-status-bar .right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bottom-tab-bar {
    height: 84px;
    background: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 24px;
}

.main-content {
    height: calc(100% - 128px);
    overflow-y: auto;
    padding: 16px;
}

.book-cover {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.reading-progress {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.reading-progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
}