:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --accent: #000000;
    --accent-hover: #333333;
    --border: #E5E7EB;
    --input-bg: #F3F4F6;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Georgia', serif; /* Using a serif for a sophisticated minimal look */
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    padding-bottom: 80px; /* Space for nav */
}

header {
    padding: 40px 24px 24px;
}

.brand {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Main Form Area */
.search-card {
    margin: 0 24px;
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 16px;
    background: var(--input-bg);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-primary);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-col {
    flex: 1;
}

/* Seat Selector */
.seat-selector {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.seat-option {
    flex: 1;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.seat-option.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary {
    width: 100%;
    padding: 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    margin-top: 8px;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Recent Travels */
.section-title {
    margin: 40px 24px 16px;
    font-size: 18px;
    font-weight: 700;
}

.recent-list {
    padding: 0 24px;
}

.recent-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--text-secondary);
}

.recent-info {
    flex: 1;
}

.recent-dest {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.recent-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 24px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    gap: 4px;
}

.nav-item.active {
    color: var(--accent);
}

.placeholder-icon {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

/* Utilities */
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
