/* 
 * Admin Styles for Survey System - Colégio Mente Criativa
 * Design Principles: Premium Nature, Organic Geometry, Staggered Motion.
 */

:root {
    --primary: #3c6e75;
    --primary-dark: #2d5258;
    --accent: #85b866;
    --accent-light: #dae468;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --error: #e74c3c;
    --success: #27ae60;
    
    --radius-soft: 24px;
    --radius-extreme: 40px;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Login Page Layout - Asymmetric Tension */
.login-container {
    width: 100%;
    display: flex;
    min-height: 100vh;
}

.login-visual {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-visual::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: url('../../assets/images/mente-transparente.png') no-repeat center;
    background-size: contain;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.login-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.login-visual-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.login-form-area {
    flex: 0.8;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-header {
    margin-bottom: 40px;
}

.login-logo {
    max-width: 180px;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.login-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #edf2f7;
    border-radius: var(--radius-soft);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(60, 110, 117, 0.1);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-soft);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 20px;
}

.btn-login:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(60, 110, 117, 0.2);
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error);
    padding: 15px;
    border-radius: var(--radius-soft);
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dashboard Styles */
.admin-layout {
    display: flex;
    width: 100%;
}

.sidebar {
    width: 280px;
    background-color: var(--white);
    height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #edf2f7;
    position: sticky;
    top: 0;
}

.main-content {
    flex: 1;
    padding: 60px;
    background-color: var(--bg-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .login-visual {
        display: none;
    }
    .login-form-area {
        flex: 1;
    }
}
