:root {
    --primary: #A8D5BA;
    --secondary: #F7DCB9;
    --accent: #B4A5D5;
    --background: #FAF9F6;
    --text: #4A5568;
    --text-light: #718096;
    --error: #FFB4B4;
    --white: #FFFFFF;
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #E8F5E9 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.zen-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tomato-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.brand-title {
    font-family: 'Crimson Pro', serif;
    font-size: 40px;
    color: var(--text);
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

form {
    text-align: left;
}

.zen-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    background: var(--background);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.zen-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.error-msg {
    color: var(--error);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 180, 180, 0.1);
    border-radius: 8px;
}

.primary-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 213, 186, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

/* Tabs pour login/register */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--background);
    padding: 6px;
    border-radius: 12px;
}

.tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--white);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab:hover:not(.active) {
    color: var(--text);
}

/* Responsive */
@media (max-width: 480px) {
    .zen-card {
        padding: 32px 24px;
    }
    
    .brand-title {
        font-size: 32px;
    }
    
    .tomato-icon {
        font-size: 48px;
    }
}
