/* style.css */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 960px; /* Adjusted for wider chart */
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 2rem; /* p-8 */
    margin: 1rem; /* p-4 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

body {
    background-color: #f9fafb; /* bg-gray-50 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 0.5rem; /* mb-2 */
}

h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #374151; /* text-gray-700 */
    margin-bottom: 1rem; /* mb-4 */
    text-align: center;
}

p {
    font-size: 1rem;
    color: #4b5563; /* text-gray-600 */
}

strong {
    font-weight: 600;
    color: #1f2937; /* text-gray-800 */
}

#current-date {
    font-size: 0.875rem; /* text-sm */
    color: #9ca3af; /* text-gray-400 */
    margin-top: 0.5rem; /* mt-2 */
}

#cycle-phase {
    text-align: center;
    padding: 1rem; /* p-4 */
    background-color: #eff6ff; /* bg-blue-50 */
    border: 1px solid #bfdbfe; /* border-blue-200 */
    border-radius: 0.5rem; /* rounded-lg */
    color: #1e40af; /* text-blue-800 */
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
}

#indicator-signals {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

#indicator-signals p {
    color: #374151; /* text-gray-700 */
}

#indicator-signals strong {
    color: #1f2937; /* text-gray-800 */
}

.btn-primary {
    background-color: #2563eb; /* bg-blue-600 */
    color: white;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}

.btn-copy {
    background-color: #3b82f6; /* bg-blue-500 */
    color: white;
    padding: 0.5rem 1rem; /* py-2 px-4 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-copy:hover {
    background-color: #2563eb; /* hover:bg-blue-600 */
}

#donation-section {
    padding: 1.5rem; /* p-6 */
    background-color: #f0fdf4; /* bg-green-50 */
    border: 1px solid #bbf7d0; /* border-green-200 */
    border-radius: 0.5rem; /* rounded-lg */
    text-align: center;
}

#donation-section h2 {
    color: #166534; /* text-green-800 */
    margin-bottom: 1rem;
}

#donation-section p {
    color: #15803d; /* text-green-700 */
    margin-bottom: 1.5rem;
}

#donation-section strong {
    color: #166534; /* text-green-800 */
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 0.5rem;
    display: block;
}

#donation-section input {
    width: 100%;
    padding: 0.75rem; /* p-3 */
    border: 1px solid #86efac; /* border-green-300 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: #fff;
    color: #1f2937; /* text-gray-800 */
    font-size: 0.875rem; /* text-sm */
    font-family: monospace; /* font-mono */
    text-align: center;
}

.hidden {
    display: none;
}

/* Chart specific styles */
.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.prosperity {
    background-color: rgba(144, 238, 144, 0.3); /* Light green */
}

.crisis {
    background-color: rgba(255, 99, 132, 0.3); /* Light red */
}

.recovery {
    background-color: rgba(54, 162, 235, 0.3); /* Light blue */
}
