/* Modern Racing App Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a5568;
    --success-color: #48bb78;
    --accent-color: #667eea;
    --background-color: #f7fafc;
    --card-background: #ffffff;
    --text-color: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    font-family: 'Dosis', sans-serif;
    color: var(--text-color);
}

h1, h2 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: var(--shadow);
    border-radius: 0 0 20px 20px;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1000px;
}

/* Card-based sections */
.section-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Enhanced buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #68d391);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Form controls */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* Results section */
#analysisResult {
    background: linear-gradient(135deg, var(--card-background), #f1f5f9);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Yankee bet section */
.yankee-bet-section {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.yankee-bet-section h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

#yankee-bet-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--card-background), #f8fafc);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 500;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

/* Course selection styling */
#course-selection-section {
    margin-bottom: 1.5rem;
}

#course-dropdown {
    min-height: 50px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}