/* /public/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    --primary-orange: #FF9933;
    --primary-green: #2E8B57;
    --dark-text: #1F2937;
    --gray-text: #6B7280;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #FF9933 0%, #2E8B57 100%);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --radius-lg: 16px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; outline: none; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--dark-text);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden; /* App feel */
    display: flex;
}

/* --- App Container & Layout --- */
#app {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

/* Sidebar (Desktop) / Bottom Nav (Mobile) */
.sidebar {
    width: 260px;
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    z-index: 100;
}

.logo-area {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text);
}
.logo-icon { color: var(--primary-green); }

.nav-menu { list-style: none; padding: 0; margin: 0; flex: 1; }
.nav-item { margin-bottom: 10px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-green);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    position: relative;
}

/* --- Auth & Wizard Cards --- */
.auth-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(46,139,87,0.1), transparent);
}

.card-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.5);
    animation: fadeUp 0.5s ease;
}

.input-group { margin-bottom: 20px; text-align: left; }
.input-label { display: block; font-size: 0.85rem; color: var(--gray-text); margin-bottom: 8px; font-weight: 500;}
.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}
.input-field:focus { border-color: var(--primary-green); }

.btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    transition: transform 0.2s;
}
.btn-primary:active { transform: scale(0.98); }

/* Wizard Specifics */
.wizard-steps { display: none; }
.wizard-steps.active { display: block; animation: fadeIn 0.4s; }
.progress-bar { height: 4px; background: #E5E7EB; border-radius: 4px; margin-bottom: 30px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-green); width: 33%; transition: width 0.3s; }

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-link { color: var(--primary-green); text-decoration: none; font-size: 0.9rem; cursor: pointer; }

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

/* Mobile Adaptation */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 70px;
        flex-direction: row;
        padding: 10px;
        border-right: none;
        border-top: 1px solid #E5E7EB;
        justify-content: space-around;
    }
    .logo-area { display: none; } /* Oculta logo na nav de baixo */
    .nav-link span { display: none; } /* Só ícones no mobile */
    .nav-link { flex-direction: column; gap: 5px; font-size: 1.2rem; }
    .main-content { padding: 20px; padding-bottom: 90px; } /* Espaço para nav bar */
    .card-glass { padding: 25px; max-width: 100%; border-radius: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; box-shadow: none; }
}
