:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --primary: #bb86fc;
    --primary-rgb: 187, 134, 252;
    --secondary: #03dac6;
    --secondary-rgb: 3, 218, 198;
    --text: #e0e0e0;
    --text-dim: #a0a0a0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    border: var(--surface) 5px solid;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.5);
}

h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-dim);
}

.card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(var(--secondary-rgb), 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 200px;
    border-top: 4px solid var(--secondary);
}

.recipe-title {
    color: var(--secondary);
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.section-label {
    font-weight: bold;
    color: var(--primary);
    margin-top: 1.5rem;
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid #334155;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.date-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: -10px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

button {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

button:hover {
    background-color: var(--primary);
    color: var(--bg);
}

ul,
ol {
    padding-left: 1.2rem;
}

footer {
    border-top: 1px solid #333;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: center;
}

.error {
    color: #ff5252;
    text-align: center;
}

/* Simple pulse animation for loading */
.loading-pulse {
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.gtranslate_wrapper {
    text-align: left;
}