:root {
    --primary: #164676;
    --primary-hover: #164676;
    --secondary: #164676;
    --bg: #6699ff;
    --card-bg: #ffffff;
    --text-main: #164676;
    --text-muted: #164676;
    --accent: #ff6600;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Dashboard Grid */
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

h2 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigator Section */
.subject-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.subject-chip {
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    user-select: none;
}

.subject-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.results-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 15px;
    min-height: 150px;
}

.major-item {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary);
    animation: slideInRight 0.3s ease-out;
}

.empty-state {
    color: var(--text-muted);
    text-align: center;
    padding-top: 40px;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.step {
    position: relative;
    margin-bottom: 25px;
}

.step-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--secondary);
}

.step-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.step-title {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Progress Meter */
.meter-container {
    margin-top: 20px;
}

.meter-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.meter-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 1s ease-in-out;
}

/* Utility */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 99px;
    background: #dcfce7;
    color: #166534;
}