:root {
    --mobile-width: 375px;
    --mobile-height: 100vh;
    --bg-color: #ffffff;
    --accent-color: #328fde;
    --border-color: #e5e5e5;
    --option-bg: #ffffff;
    --option-active-bg: #328fde;
    --option-active-text: #ffffff;
    --option-border: #e5e5e5;
    --option-active-border: #328fde;
}

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

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.sticky-note {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    padding: 20px;
    background-color: #fff8dc;
    border: 1px solid #e6d690;
    border-radius: 3px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #5a4a3a;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1;
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #e6d690;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.mobile-container {
    width: var(--mobile-width);
    height: 812px;
    /* Fixed height for mock */
    background-color: var(--bg-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.onboarding-content {
    flex: 1;
    padding: 0 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-y: auto;
}

.onboarding-title {
    margin-top: 120px;
    /* Push down from progress bar and top */
    margin-bottom: 16px;
}

.onboarding-body,
.onboarding-secondary {
    margin-bottom: 24px;
}

/* Center main interactive elements */
.options-list,
.onboarding-input-container,
.year-selector,
.scrubber,
.img-placeholder,
.achievements-list {
    margin-top: auto;
    margin-bottom: auto;
}

.img-placeholder {
    width: 250px;
    height: 250px;
    background-color: #f7f7f7;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-actions {
    padding: 20px 25px 40px;
    background-color: white;
}

/* Top Bar (Back Button + Progress) */
.top-bar {
    position: absolute;
    top: 50px;
    left: 20px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #999;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.2s ease;
}

.back-btn:active {
    color: var(--accent-color);
}

.progress-container {
    flex: 1;
    height: 12px;
    background-color: #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Selector/Options Component */
.options-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--option-border);
    border-radius: 16px;
    text-align: left;
    background-color: var(--option-bg);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: var(--onboarding-text-primary);
    font-family: var(--onboarding-font-display);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}

.option-card.active {
    border-color: var(--option-active-border);
    background-color: rgba(50, 143, 222, 0.1);
}

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

.option-secondary {
    display: block;
    font-size: 14px;
    color: var(--onboarding-text-secondary);
    margin-top: 4px;
}

/* Input Fields */
.onboarding-input-container {
    width: 100%;
}

.onboarding-input {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--option-border);
    border-radius: 16px;
    font-size: 20px;
    font-family: var(--onboarding-font-display);
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.onboarding-input:focus {
    border-color: var(--accent-color);
}

/* Unit Toggle */
.unit-switch {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.unit-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #777;
    transition: all 0.2s ease;
}

.unit-btn.active {
    background-color: white;
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Big Number Scrubber */
.scrubber {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.scrubber-btn {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #f7f7f7;
    border: 2px solid #e5e5e5;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrubber-value {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--onboarding-font-rounded);
    color: var(--onboarding-text-primary);
    min-width: 150px;
}

/* Achievements List */
.achievements-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.achievement-icon {
    width: 54px;
    height: 54px;
    background-color: #d9d9d9;
    border-radius: 12px;
    flex-shrink: 0;
}

.achievement-content {
    flex: 1;
    text-align: left;
}

.achievement-title {
    font-family: 'SF Pro Rounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.achievement-description {
    font-family: 'SF Pro Rounded', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #777777;
    margin: 0;
    line-height: 1.4;
}