:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #6930c3;
    --physical: #ef476f;
    --emotional: #ffd166;
    --intellectual: #06d6a0;
    --bg: #f8f9fa;
    --text: #212529;
    --card: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--physical), var(--emotional), var(--intellectual));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background-color: var(--card);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.input-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    min-width: 250px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="date"]:focus {
    border-color: var(--primary);
    outline: none;
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--secondary);
}

.chart-container {
    position: relative;
    height: 400px;
    margin-top: 20px;
}

.biorhythm-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
    gap: 20px;
}

.bio-card {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bio-card.physical {
    background-color: var(--physical);
}

.bio-card.emotional {
    background-color: var(--emotional);
    color: #333;
}

.bio-card.intellectual {
    background-color: var(--intellectual);
}

.bio-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.bio-status {
    font-size: 1.1rem;
    font-weight: 500;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.date-display {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 20px 0;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
    }

    header h1 {
        font-size: 2rem;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Common utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Add any other common styles here */