body {
    background-color: #0b1020;
    color: #f8f9fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

/* Telas de autenticação */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    max-width: 420px;
    width: 100%;
    background: #151a2e;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Alertas */
.alert {
    margin-top: 10px;
}

/* Layout logado */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #111726;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.sidebar-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00d4ff, #007bff);
}

.sidebar-brand-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.sidebar-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d4ff;
}

.sidebar-user-info {
    font-size: 0.9rem;
    line-height: 1.2;
}

.sidebar-user-name {
    font-weight: 600;
}

.sidebar-user-email {
    font-size: 0.8rem;
    color: #9ca3af;
}

.sidebar-nav {
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex: 1;
}

.sidebar-nav li {
    margin-bottom: 6px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.92rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #1f2937;
    color: #ffffff;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Conteúdo */
.main {
    flex: 1;
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
    padding: 18px 22px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.main-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.btn-logout {
    font-size: 0.85rem;
}

/* Cartões */
.card-soft {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Responsivo */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        z-index: 1040;
        left: -260px;
        top: 0;
        height: 100vh;
        transition: left 0.25s ease;
    }

    .sidebar.open {
        left: 0;
    }

    .main {
        padding-top: 64px;
    }

    .mobile-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: #020617;
        padding: 10px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #1f2937;
    }

    .mobile-topbar-title {
        font-size: 1rem;
        font-weight: 600;
    }
}

/* Campos somente leitura (nome e e-mail no perfil) */
.input-readonly {
    background-color: #f1f3f5 !important;   /* cinza claro elegante */
    color: #495057 !important;
    cursor: not-allowed;
    opacity: 1;
    border: 1px solid #ced4da;
}

/* Se quiser versão amarelada, use esta no lugar da de cima */
/*
.input-readonly {
    background-color: #fff8dc !important;
    color: #495057 !important;
    cursor: not-allowed;
    opacity: 1;
    border: 1px solid #f1e0a5;
}
*/
/* Subtítulo da tela de login */
.auth-subtitle {
    color: #e5e7eb;      /* cinza bem claro */
    opacity: 0.9;
}
/* E-mail exibido no card de perfil */
.profile-email {
    color: #9ca3af;   /* cinza claro */
    opacity: 0.9;
}

