/* ========================================
   Osy Treino – Sistema de Treinos Desktop
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

/* ── Variáveis ═══════════════════════════ */
:root {
    --primary: #a238ff;
    --primary-hover: #8a1fe6;
    --primary-light: #f3e8ff;
    --accent-green: #00B67A;
    --accent-red: #E53935;
    --accent-orange: #FF9800;
    --accent-purple: #7C4DFF;

    --bg: #F4F6F9;
    --surface: #FFFFFF;
    --sidebar-bg: #1A1D23;
    --sidebar-hover: #2A2D35;
    --sidebar-active: #a238ff;
    --sidebar-text: #9CA3AF;
    --sidebar-text-active: #FFFFFF;

    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --text-hint: #9CA3AF;
    --border: #E5E7EB;
    --divider: #F0F0F0;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    --radius: 8px;
    --radius-lg: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.2s ease;
}

/* ── Reset ═══════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   TELA DE LOGIN
   ═══════════════════════════════════════════ */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #0d0d14;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(162, 56, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 182, 122, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

/* Partículas flutuantes */
.login-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(162, 56, 255, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 18s;
    animation-delay: 0s;
    width: 4px;
    height: 4px;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-duration: 22s;
    animation-delay: -3s;
    width: 8px;
    height: 8px;
    background: rgba(124, 77, 255, 0.2);
}

.particle:nth-child(3) {
    left: 60%;
    top: 10%;
    animation-duration: 16s;
    animation-delay: -6s;
    width: 5px;
    height: 5px;
}

.particle:nth-child(4) {
    left: 80%;
    top: 40%;
    animation-duration: 20s;
    animation-delay: -2s;
    width: 3px;
    height: 3px;
    background: rgba(0, 182, 122, 0.3);
}

.particle:nth-child(5) {
    left: 15%;
    top: 80%;
    animation-duration: 24s;
    animation-delay: -8s;
    width: 7px;
    height: 7px;
    background: rgba(162, 56, 255, 0.15);
}

.particle:nth-child(6) {
    left: 50%;
    top: 30%;
    animation-duration: 19s;
    animation-delay: -4s;
    width: 4px;
    height: 4px;
    background: rgba(255, 152, 0, 0.2);
}

.particle:nth-child(7) {
    left: 75%;
    top: 70%;
    animation-duration: 21s;
    animation-delay: -7s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(8) {
    left: 40%;
    top: 90%;
    animation-duration: 17s;
    animation-delay: -1s;
    width: 5px;
    height: 5px;
    background: rgba(124, 77, 255, 0.25);
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translate(60px, -120px) scale(1.5);
        opacity: 0.7;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(-30px, -240px) scale(0.8);
        opacity: 0;
    }
}

/* Container do Login */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    animation: loginSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Branding */
.login-brand {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #a238ff 0%, #7C4DFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px rgba(162, 56, 255, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(162, 56, 255, 0.4);
    }

    50% {
        box-shadow: 0 8px 48px rgba(162, 56, 255, 0.6);
    }
}

.login-logo .material-icons-round {
    font-size: 36px;
    color: #fff;
}

.login-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.02em;
}

.login-osy {
    color: #a238ff;
}

.login-subtitle {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-top: 6px;
    font-weight: 400;
}

/* Formulário */
.login-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.login-input-group {
    position: relative;
    margin-bottom: 16px;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 20px;
    pointer-events: none;
    transition: color var(--transition);
}

.login-input-group input {
    width: 100%;
    padding: 14px 14px 14px 46px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.login-input-group input::placeholder {
    color: #6B7280;
}

.login-input-group input:focus {
    border-color: var(--primary);
    background: rgba(162, 56, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(162, 56, 255, 0.15);
}

.login-input-group input:focus~.login-input-icon,
.login-input-group input:focus+.login-input-icon {
    color: var(--primary);
}

.login-toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color var(--transition);
}

.login-toggle-pass:hover {
    color: #fff;
}

.login-toggle-pass .material-icons-round {
    font-size: 20px;
}

/* Erro */
.login-error {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(229, 57, 53, 0.12);
    border: 1px solid rgba(229, 57, 53, 0.25);
    border-radius: 8px;
    margin-bottom: 16px;
    color: #ef5350;
    font-size: 0.82rem;
    font-weight: 500;
    animation: shakeError 0.4s ease;
}

.login-error.show {
    display: flex;
}

.login-error .material-icons-round {
    font-size: 18px;
    flex-shrink: 0;
}

@keyframes shakeError {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

/* Botão Login */
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a238ff 0%, #8a1fe6 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(162, 56, 255, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn.loading .login-btn-text {
    opacity: 0;
}

.login-btn.loading .login-btn-loader {
    display: block;
}

.login-btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 28px;
}

.login-footer p {
    color: #6B7280;
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════
   SIDEBAR - Logout area
   ═══════════════════════════════════════════ */
.sidebar-logout-area {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-user-avatar .material-icons-round {
    font-size: 20px;
    color: #fff;
}

.sidebar-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

.sidebar-user-role {
    font-size: 0.68rem;
    color: var(--sidebar-text);
    margin-top: 1px;
}

.logout-btn {
    color: #ef5350 !important;
}

.logout-btn:hover {
    background: rgba(229, 57, 53, 0.12) !important;
}

/* ═══════════════════════════════════════════
   ÁREA DO ALUNO / ASSINANTE (App Container)
   ═══════════════════════════════════════════ */
.aluno-app-container {
    background: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.aluno-area {
    width: 100%;
    max-width: 480px;
    background: #0d0d14;
    background-image: radial-gradient(circle at 50% 0%, rgba(162, 56, 255, 0.15) 0%, transparent 50%);
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    min-height: 100vh;
}

/* Topbar do Aluno */
.aluno-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.aluno-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aluno-topbar-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(162, 56, 255, 0.3);
}

.aluno-topbar-avatar .material-icons-round {
    font-size: 26px;
}

.aluno-topbar-greeting {
    display: flex;
    flex-direction: column;
}

.greeting-sub {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin: 0;
}

.aluno-topbar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.notif-bell-wrapper {
    position: relative;
}

.notif-bell-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notif-bell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Bottom Nav Glassmorphism */
.aluno-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0 20px 0; /* Padding bottom for modern phones (home indicator) */
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.bottom-nav-item .material-icons-round {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.bottom-nav-item .nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.bottom-nav-item:hover {
    color: #9CA3AF;
}

.bottom-nav-item.active {
    color: #a238ff;
}

.bottom-nav-item.active .material-icons-round {
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(162, 56, 255, 0.4);
}

/* Plan Card Base */
.aluno-summary-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.aluno-summary-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(162,56,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Treinos Grid & Cards */
.treinos-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.treino-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.treino-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.treino-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(162, 56, 255, 0.1);
    color: #a238ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.treino-card-icon .material-icons-round {
    font-size: 24px;
}

.treino-card-info {
    flex: 1;
}

.treino-dia {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.treino-desc {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    color: #9CA3AF;
}

.treino-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(162, 56, 255, 0.3);
    transition: transform 0.2s ease;
}

.treino-card:hover .treino-play-btn {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════
   ALUNO: MODAIS E FORMULÁRIOS NATIVOS
   ═══════════════════════════════════════════ */
.aluno-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aluno-terms-box {
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.aluno-terms-scroll {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
    font-size: 0.85rem;
    color: #9CA3AF;
    line-height: 1.6;
}

.aluno-form-view {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: #0d0d14;
    z-index: 9998;
    overflow-y: auto;
    padding-bottom: 50px;
}

.aluno-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aluno-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aluno-form-container {
    padding: 24px;
}

.aluno-native-group {
    margin-bottom: 20px;
}

.aluno-native-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.aluno-native-input,
.aluno-native-select,
.aluno-native-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.aluno-native-input:focus,
.aluno-native-select:focus,
.aluno-native-textarea:focus {
    border-color: #a238ff;
    background: rgba(162, 56, 255, 0.05);
    outline: none;
    box-shadow: 0 0 0 3px rgba(162, 56, 255, 0.1);
}

.aluno-native-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

@keyframes bellShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(14deg);
    }

    30% {
        transform: rotate(-12deg);
    }

    45% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(4deg);
    }
}

.notif-bell-btn .material-icons-round {
    font-size: 22px;
}

.notif-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #E53935;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.notif-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: rgba(26, 29, 35, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    overflow: hidden;
    animation: notifSlideIn 0.25s ease;
}

@keyframes notifSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notif-panel-header h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notif-panel-header h4 .material-icons-round {
    font-size: 18px;
    color: #a238ff;
}

.notif-mark-read-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(162, 56, 255, 0.1);
    border: none;
    color: #a238ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notif-mark-read-btn:hover {
    background: rgba(162, 56, 255, 0.2);
}

.notif-mark-read-btn .material-icons-round {
    font-size: 18px;
}

.notif-panel-list {
    overflow-y: auto;
    max-height: 340px;
    padding: 6px;
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    transition: background 0.2s ease;
    cursor: default;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notif-item.unread {
    background: rgba(162, 56, 255, 0.06);
    border-left: 3px solid #a238ff;
}

.notif-item-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(162, 56, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-item-icon .material-icons-round {
    font-size: 16px;
    color: #a238ff;
}

.notif-item-icon.treino {
    background: rgba(0, 182, 122, 0.15);
}

.notif-item-icon.treino .material-icons-round {
    color: #00B67A;
}

.notif-item-icon.assinatura {
    background: rgba(255, 152, 0, 0.15);
}

.notif-item-icon.assinatura .material-icons-round {
    color: #FF9800;
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-msg {
    font-size: 0.8rem;
    color: #D1D5DB;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.notif-item.unread .notif-item-msg {
    color: #fff;
    font-weight: 600;
}

.notif-item-time {
    font-size: 0.66rem;
    color: #6B7280;
}

.notif-empty {
    text-align: center;
    padding: 32px 16px;
    color: #6B7280;
    font-size: 0.82rem;
}

@media (max-width: 600px) {
    .notif-panel {
        width: calc(100vw - 24px);
        right: -60px;
        max-height: 380px;
    }
}

/* Conteúdo do Aluno */
.aluno-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px 60px;
}

/* Saudação */
.aluno-welcome {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.aluno-welcome h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.aluno-welcome p {
    color: #6B7280;
    font-size: 0.95rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats do Aluno */
.aluno-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
    animation: fadeInUp 0.7s ease;
}

.aluno-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.aluno-stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.aluno-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aluno-stat-icon .material-icons-round {
    font-size: 26px;
    color: #fff;
}

.aluno-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.aluno-stat-lbl {
    font-size: 0.78rem;
    color: #6B7280;
    margin-top: 4px;
}

/* Seção de Treinos */
.aluno-treinos-section {
    animation: fadeInUp 0.8s ease;
}

.aluno-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.aluno-section-title .material-icons-round {
    color: var(--primary);
    font-size: 24px;
}

/* Tabs dos Treinos do Aluno */
.aluno-treinos-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.aluno-tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9CA3AF;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aluno-tab-btn:hover {
    background: rgba(162, 56, 255, 0.1);
    border-color: rgba(162, 56, 255, 0.3);
    color: #fff;
}

.aluno-tab-btn.active {
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(162, 56, 255, 0.3);
}

/* Conteúdo do Treino do Aluno */
.aluno-treino-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

/* Cards de Exercícios – Layout Apple-style responsivo */
.treino-exercise-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.treino-exercise-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.treino-exercise-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(162, 56, 255, 0.2);
}

.treino-exercise-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.treino-exercise-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

.treino-exercise-info {
    flex: 1;
    min-width: 0;
}

.treino-exercise-grupo {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a238ff;
    display: block;
    margin-bottom: 2px;
}

.treino-exercise-nome {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.treino-exercise-video-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00B67A, #00897B);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 182, 122, 0.2);
}

.treino-exercise-video-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 182, 122, 0.35);
}

.treino-exercise-video-btn .material-icons-round {
    font-size: 22px;
    color: #fff;
}

.treino-exercise-details {
    display: flex;
    gap: 6px;
    padding: 0 16px 14px;
    flex-wrap: wrap;
}

.treino-detail-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    flex: 1;
    min-width: 90px;
    overflow: hidden;
}

.treino-detail-tag .material-icons-round {
    font-size: 16px;
    color: #6B7280;
    flex-shrink: 0;
}

.treino-detail-tag div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
}

.treino-detail-tag small {
    font-size: 0.58rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.treino-detail-tag strong {
    font-size: 0.82rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.treino-detail-tag.metodo {
    background: rgba(162, 56, 255, 0.08);
    border-color: rgba(162, 56, 255, 0.15);
}

.treino-detail-tag.metodo .material-icons-round {
    color: #a238ff;
}

.treino-detail-tag.metodo strong {
    color: #c06bff;
}

@media (max-width: 600px) {
    .treino-exercise-list {
        padding: 10px;
        gap: 8px;
    }

    .treino-exercise-header {
        padding: 12px 14px;
    }

    .treino-exercise-details {
        padding: 0 14px 12px;
        gap: 4px;
    }

    .treino-detail-tag {
        min-width: 78px;
        padding: 5px 7px;
        gap: 4px;
    }

    .treino-exercise-nome {
        font-size: 0.85rem;
    }
}

.aluno-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #00B67A, #00897B);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aluno-video-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 182, 122, 0.3);
}

.aluno-video-btn .material-icons-round {
    font-size: 16px;
}

/* Estado vazio do aluno */
.aluno-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6B7280;
}

.aluno-empty-state .material-icons-round {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
    color: var(--primary);
}

.aluno-empty-state p {
    font-size: 0.9rem;
}

/* Periodização do Aluno */
.aluno-periodizacao {
    padding: 16px 20px;
    background: rgba(255, 152, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aluno-periodizacao .material-icons-round {
    color: var(--accent-orange);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.aluno-periodizacao-text {
    font-size: 0.85rem;
    color: #D1D5DB;
    line-height: 1.5;
}

.aluno-periodizacao-label {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

/* ── Layout Principal ════════════════════ */
.app-layout {
    display: flex;
    height: 100vh;
}

/* ── Sidebar ═════════════════════════════ */
.sidebar {
    width: 250px;
    min-width: 250px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-brand .brand-icon .material-icons-round {
    color: #fff;
    font-size: 22px;
}

.sidebar-brand .brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.sidebar-brand .brand-sub {
    font-size: 0.7rem;
    color: var(--sidebar-text);
    margin-top: 1px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
}

.nav-section-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text);
    padding: 12px 12px 6px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--sidebar-text);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-align: left;
}

.nav-btn:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

.nav-btn.active {
    background: var(--sidebar-active);
    color: var(--sidebar-text-active);
}

.nav-btn .material-icons-round {
    font-size: 20px;
}

/* ── Área Principal ══════════════════════ */
.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Top Bar ═════════════════════════════ */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.topbar h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.topbar-actions {
    display: flex;
    gap: 10px;
}

/* ── Conteúdo ════════════════════════════ */
.content {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
}

/* ── Página oculta ═══════════════════════ */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ── Botões ══════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform 0.1s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
}

.btn-danger {
    background: var(--accent-red);
    color: #fff;
}

.btn-danger:hover {
    background: #C62828;
}

.btn-success {
    background: var(--accent-green);
    color: #fff;
}

.btn-success:hover {
    background: #009960;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}

.btn-icon {
    padding: 7px;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-icon .material-icons-round {
    font-size: 18px;
}

.btn-play {
    padding: 6px 10px;
    border-radius: var(--radius);
    background: var(--accent-green);
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    transition: background var(--transition);
}

.btn-play:hover {
    background: #009960;
}

.btn-play .material-icons-round {
    font-size: 16px;
}

/* ── Cards / Painéis ═════════════════════ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--divider);
    flex-wrap: wrap;
    gap: 10px;
}

.card-header h2 {
    font-size: 1rem;
    font-weight: 700;
}

.card-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-body {
    padding: 20px;
}

/* ── Tabelas ═════════════════════════════ */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: var(--bg);
    border-bottom: 2px solid var(--border);
}

table tbody td {
    padding: 12px 14px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--divider);
    vertical-align: middle;
}

table tbody tr:hover {
    background: var(--primary-light);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Formulários ═════════════════════════ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.form-group input::placeholder {
    color: var(--text-hint);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* ── Checkbox de dias ════════════════════ */
.days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.day-check {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.82rem;
    font-weight: 500;
    user-select: none;
}

.day-check:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.day-check input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.day-check.checked {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* ── Tabs de Treino (A–F) ════════════════ */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Badges ══════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-blue {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-green {
    background: #E8F5E9;
    color: var(--accent-green);
}

.badge-orange {
    background: #FFF3E0;
    color: var(--accent-orange);
}

.badge-purple {
    background: #EDE7F6;
    color: var(--accent-purple);
}

/* ── Empty State ═════════════════════════ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-hint);
}

.empty-state .material-icons-round {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ── Modal ════════════════════════════════ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 560px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--divider);
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 6px;
    transition: background var(--transition);
}

.modal-close:hover {
    background: var(--bg);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--divider);
}

/* ── Actions na tabela ═══════════════════ */
.actions-cell {
    display: flex;
    gap: 6px;
}

/* ── Treino row inline ═══════════════════ */
.treino-row select,
.treino-row input {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.82rem;
    color: var(--text);
    background: var(--surface);
    outline: none;
}

.treino-row select {
    min-width: 120px;
}

.treino-row input {
    width: 80px;
}

.treino-row select:focus,
.treino-row input:focus {
    border-color: var(--primary);
}

/* ── Stats cards ═════════════════════════ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .material-icons-round {
    font-size: 24px;
    color: #fff;
}

.stat-icon.blue {
    background: var(--primary);
}

.stat-icon.green {
    background: var(--accent-green);
}

.stat-icon.orange {
    background: var(--accent-orange);
}

.stat-icon.purple {
    background: var(--accent-purple);
}

.stat-info .stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.stat-info .stat-lbl {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Toast ════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--sidebar-bg);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 600;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ── Export options ═══════════════════════ */
.export-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.export-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.export-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.export-option input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.export-option .export-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.export-option .export-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ── Dia da semana badges na tabela ═══════ */
.day-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.day-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary);
}

/* ── Responsividade (regras principais no final do arquivo) ══════════════════════ */
@media (max-width: 900px) {

    /* Aluno responsive */
    .aluno-topbar {
        padding: 12px 16px;
    }

    .aluno-topbar-name {
        display: none;
    }

    .aluno-content {
        padding: 20px 16px 40px;
    }

    .aluno-welcome h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .aluno-stats {
        grid-template-columns: 1fr;
    }

    .aluno-treinos-tabs {
        gap: 6px;
    }

    .aluno-tab-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ── Anamnese ═══════════════════════════ */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.anamnese-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1A1D23 0%, #2A2D35 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    color: #fff;
}

.anamnese-header-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.anamnese-header-info h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.anamnese-header-info p {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin: 2px 0 0;
}

.anamnese-section {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.anamnese-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.anamnese-section-title .material-icons-round {
    font-size: 20px;
}

.anamnese-section-title.saude {
    border-left: 4px solid #E53935;
}

.anamnese-section-title.saude .material-icons-round {
    color: #E53935;
}

.anamnese-section-title.treino {
    border-left: 4px solid var(--primary);
}

.anamnese-section-title.treino .material-icons-round {
    color: var(--primary);
}

.anamnese-section-title.medidas {
    border-left: 4px solid #FF9800;
}

.anamnese-section-title.medidas .material-icons-round {
    color: #FF9800;
}

.anamnese-section-title.fotos {
    border-left: 4px solid #00B67A;
}

.anamnese-section-title.fotos .material-icons-round {
    color: #00B67A;
}

.anamnese-section-title.metas {
    border-left: 4px solid #2196F3;
}

.anamnese-section-title.metas .material-icons-round {
    color: #2196F3;
}

.anamnese-section-title.contato {
    border-left: 4px solid #7C4DFF;
}

.anamnese-section-title.contato .material-icons-round {
    color: #7C4DFF;
}

.anamnese-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0;
}

.anamnese-field {
    padding: 12px 20px;
    border-bottom: 1px solid var(--divider);
    border-right: 1px solid var(--divider);
}

.anamnese-field:last-child {
    border-bottom: none;
}

.anamnese-field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.anamnese-field-value {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.4;
    word-break: break-word;
}

.anamnese-field-value.empty {
    color: var(--text-hint);
    font-style: italic;
}

.anamnese-field.full-width {
    grid-column: 1 / -1;
    border-right: none;
}

.anamnese-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 16px 20px;
}

.anamnese-photo-card {
    text-align: center;
}

.anamnese-photo-card img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.anamnese-photo-card img:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.anamnese-photo-card p {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.anamnese-photo-card a {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
}

.anamnese-photo-card a:hover {
    text-decoration: underline;
}

.anamnese-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.anamnese-badge.sim {
    background: #FFEBEE;
    color: #C62828;
}

.anamnese-badge.nao {
    background: #E8F5E9;
    color: #2E7D32;
}

/* ═══════════════════════════════════════════
   TELA HOME
   ═══════════════════════════════════════════ */
.home-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0d0d14;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(162, 56, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 182, 122, 0.08) 0%, transparent 40%);
    position: relative;
    overflow-y: auto;
}

.home-container {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 24px;
    animation: loginSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-welcome-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.home-brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 4rem;
    line-height: 1.1;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}

.home-osy {
    color: #a238ff;
}

.home-treino {
    color: #fff;
}

.home-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.home-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #a238ff, #8a1fe6);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.home-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.home-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(162, 56, 255, 0.5);
}

.home-cta-btn:hover::before {
    left: 100%;
}

.home-cta-btn:active {
    transform: translateY(0);
}

/* CTA Group centralizado */
.home-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* ═══════════════════════════════════════
   TELA DE PLANOS / STRIPE
   ═══════════════════════════════════════ */
.plans-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #0d0d14;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(162, 56, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 182, 122, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: auto;
    padding: 40px 16px;
}

.plans-container {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 860px;
    width: 100%;
    animation: loginSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.plans-header {
    margin-bottom: 36px;
}

.plans-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.plans-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(162, 56, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.featured {
    border-color: rgba(162, 56, 255, 0.4);
    background: rgba(162, 56, 255, 0.06);
    box-shadow: 0 8px 32px rgba(162, 56, 255, 0.15);
}

.plan-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.plan-badge {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.plan-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 8px;
}

.plan-currency {
    font-size: 1.2rem;
    color: #9CA3AF;
    font-weight: 600;
    vertical-align: top;
}

.plan-value {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.plan-period {
    font-size: 0.9rem;
    color: #6B7280;
    font-weight: 500;
}

.plan-savings {
    color: #00B67A;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: #D1D5DB;
    font-size: 0.85rem;
}

.plan-features li .material-icons-round {
    font-size: 18px;
    color: #00B67A;
}

.plan-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.plan-btn.featured {
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    box-shadow: 0 4px 20px rgba(162, 56, 255, 0.4);
}

.plan-btn.featured:hover {
    box-shadow: 0 6px 28px rgba(162, 56, 255, 0.6);
}

.plans-security {
    color: #6B7280;
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.plans-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plans-back-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.plans-back-btn .material-icons-round {
    font-size: 18px;
}

@media (max-width: 700px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .plans-title {
        font-size: 2rem;
    }

    .plan-value {
        font-size: 2.8rem;
    }
}

.home-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.home-footer p {
    color: #6B7280;
    font-size: 0.75rem;
}

/* ── Login extras ═══════════════════════ */
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.login-register-btn {
    width: 100%;
    padding: 13px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #D1D5DB;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-register-btn:hover {
    background: rgba(162, 56, 255, 0.1);
    border-color: rgba(162, 56, 255, 0.3);
    color: #fff;
}

.login-register-btn .material-icons-round {
    font-size: 20px;
    color: var(--primary);
}

.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #6B7280;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 12px;
}

.login-back-btn:hover {
    color: #fff;
}

.login-back-btn .material-icons-round {
    font-size: 18px;
}

/* ── Aluno section header ═══════════════ */
.aluno-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.aluno-section-header .aluno-section-title {
    margin-bottom: 0;
}

.aluno-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aluno-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 56, 255, 0.4);
}

.aluno-pdf-btn .material-icons-round {
    font-size: 20px;
}

@media (max-width: 600px) {
    .home-brand-name {
        font-size: 2.8rem;
    }

    .home-welcome-text {
        font-size: 1.1rem;
    }

    .home-desc {
        font-size: 0.88rem;
    }
}

/* ═══════════════════════════════════════════
   DASHBOARD ALUNO - PÁGINAS & MENU
   ═══════════════════════════════════════════ */

/* Topbar title Poppins */
.aluno-topbar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
}

.aluno-osy {
    color: #a238ff;
}

/* Sistema de páginas */
.aluno-page {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.aluno-page.active {
    display: block;
}

/* Menu Grid */
.aluno-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.aluno-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    text-align: center;
    font-family: var(--font);
}

.aluno-menu-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.aluno-menu-card:active {
    transform: translateY(-1px);
}

.aluno-menu-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.aluno-menu-card:hover .aluno-menu-icon {
    transform: scale(1.1);
}

.aluno-menu-icon .material-icons-round {
    font-size: 28px;
    color: #fff;
}

.aluno-menu-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.aluno-menu-desc {
    font-size: 0.72rem;
    color: #6B7280;
    font-weight: 400;
}

/* Page Header */
.aluno-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.aluno-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.aluno-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.aluno-back-btn .material-icons-round {
    font-size: 22px;
}

.aluno-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    flex: 1;
}

.aluno-page-title .material-icons-round {
    font-size: 26px;
}

/* Aluno Card (genérico) */
.aluno-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.aluno-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.aluno-card-title .material-icons-round {
    font-size: 22px;
}

/* Profile section (Conta) */
.aluno-profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.aluno-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aluno-profile-avatar .material-icons-round {
    font-size: 36px;
    color: #fff;
}

.aluno-profile-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.aluno-profile-info p {
    color: #6B7280;
    font-size: 0.88rem;
    margin-top: 4px;
}

/* Plan Grid */
.aluno-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.aluno-plan-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.aluno-plan-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aluno-plan-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Aluno form */
.aluno-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.aluno-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aluno-form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9CA3AF;
}

.aluno-form-group input,
.aluno-form-group select {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.aluno-form-group input::placeholder {
    color: #6B7280;
}

.aluno-form-group input:focus,
.aluno-form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(162, 56, 255, 0.15);
}

.aluno-form-group select option {
    background: #1A1D23;
    color: #fff;
}

/* Macro resultado cards */
.macro-resultado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.macro-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.macro-card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.macro-card-label {
    font-size: 0.78rem;
    color: #6B7280;
    margin-top: 4px;
}

.macro-card-unit {
    font-size: 0.9rem;
    font-weight: 400;
    color: #9CA3AF;
}

/* Biblioteca vídeos grid */
.aluno-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.aluno-video-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.aluno-video-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.aluno-video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.aluno-video-info {
    padding: 14px 16px;
}

.aluno-video-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
}

.aluno-video-info p {
    font-size: 0.78rem;
    color: #6B7280;
    line-height: 1.4;
}

/* Alimentação dicas */
.aluno-dicas-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aluno-dica-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.aluno-dica-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.aluno-dica-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aluno-dica-icon .material-icons-round {
    font-size: 22px;
    color: #fff;
}

.aluno-dica-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.aluno-dica-text p {
    font-size: 0.85rem;
    color: #9CA3AF;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .aluno-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .aluno-menu-card {
        padding: 20px 12px;
    }

    .aluno-menu-icon {
        width: 48px;
        height: 48px;
    }

    .aluno-form-grid {
        grid-template-columns: 1fr;
    }

    .aluno-plan-grid {
        grid-template-columns: 1fr;
    }

    .aluno-profile-section {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════
   SEARCH BAR - ALUNO
   ═══════════════════════════════════════ */
.aluno-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.aluno-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(162, 56, 255, 0.15);
}

.aluno-search-bar .material-icons-round {
    font-size: 22px;
    color: #6B7280;
}

.aluno-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
}

.aluno-search-bar input::placeholder {
    color: #6B7280;
}

/* ═══════════════════════════════════════
   TREINOS MENSAIS - CARDS
   ═══════════════════════════════════════ */
.treino-mensal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.treino-mensal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.treino-mensal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.treino-mensal-card.bloqueado {
    opacity: 0.5;
    cursor: not-allowed;
}

.treino-mensal-card.bloqueado:hover {
    transform: none;
    box-shadow: none;
}

.treino-mensal-card.adaptacao {
    border-color: rgba(162, 56, 255, 0.3);
    background: rgba(162, 56, 255, 0.06);
}

.treino-mensal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treino-mensal-icon .material-icons-round {
    font-size: 26px;
    color: #fff;
}

.treino-mensal-nome {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.treino-mensal-status {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.treino-mensal-status.liberado {
    background: rgba(0, 182, 122, 0.15);
    color: #00B67A;
}

.treino-mensal-status.bloqueado {
    background: rgba(229, 57, 53, 0.15);
    color: #E53935;
}

.treino-mensal-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #E53935;
    opacity: 0.7;
}

/* Categoria/Cabeçalho na Biblioteca */
.bib-categoria-header {
    padding: 14px 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bib-categoria-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bib-categoria-header h3 .material-icons-round {
    font-size: 20px;
    color: #2196F3;
}

/* Dica card com imagem */
.aluno-dica-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
}

.aluno-dica-media {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.aluno-dica-media a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--primary);
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(162, 56, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.aluno-dica-media a:hover {
    background: rgba(162, 56, 255, 0.2);
}

.aluno-dica-media a .material-icons-round {
    font-size: 16px;
}

@media (max-width: 600px) {
    .treino-mensal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ═══════════════════════════════════════
   INSTAGRAM LINK - HOME
   ═══════════════════════════════════════ */
.home-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e1306c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 10px 24px;
    border: 1px solid rgba(225, 48, 108, 0.3);
    border-radius: 30px;
    background: rgba(225, 48, 108, 0.08);
    transition: all 0.3s ease;
}

.home-instagram-link:hover {
    background: rgba(225, 48, 108, 0.18);
    transform: scale(1.05);
}

/* ═══════════════════════════════════════
   BARRA DE SUPORTE - DASHBOARD ALUNO
   ═══════════════════════════════════════ */
.aluno-support-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.aluno-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.aluno-support-btn .material-icons-round {
    font-size: 18px;
}

.aluno-support-btn.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.aluno-support-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
}

.aluno-support-btn.email {
    background: rgba(162, 56, 255, 0.1);
    color: #a238ff;
    border: 1px solid rgba(162, 56, 255, 0.2);
}

.aluno-support-btn.email:hover {
    background: rgba(162, 56, 255, 0.2);
}

.aluno-support-btn.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.aluno-support-btn.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
}

/* ═══════════════════════════════════════
   CALCULADORA - TABS
   ═══════════════════════════════════════ */
.calc-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-tab.active {
    background: linear-gradient(135deg, var(--primary), #7C4DFF);
    color: #fff;
    box-shadow: 0 2px 12px rgba(162, 56, 255, 0.3);
}

.calc-tab:hover:not(.active) {
    color: #D1D5DB;
    background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════
   DIÁRIO ALIMENTAR
   ═══════════════════════════════════════ */
.diario-progress-item {
    margin-bottom: 12px;
}

.diario-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #D1D5DB;
    font-weight: 600;
    margin-bottom: 6px;
}

.diario-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.diario-progress-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.4s ease;
    min-width: 0;
}

.diario-sugestoes {
    max-height: 200px;
    overflow-y: auto;
    border-radius: 10px;
}

.diario-sugestao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diario-sugestao-item:hover {
    background: rgba(162, 56, 255, 0.1);
    border-color: rgba(162, 56, 255, 0.2);
}

.diario-sugestao-nome {
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
}

.diario-sugestao-info {
    font-size: 0.72rem;
    color: #6B7280;
}

.diario-escolhido {
    padding: 14px;
    background: rgba(0, 182, 122, 0.06);
    border: 1px solid rgba(0, 182, 122, 0.15);
    border-radius: 12px;
    margin-top: 10px;
}

.diario-qtd-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-top: 10px;
}

.diario-agua-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.diario-agua-btns {
    display: flex;
    gap: 8px;
}

.diario-agua-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    background: rgba(33, 150, 243, 0.08);
    color: #2196F3;
    border-radius: 10px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diario-agua-btn:hover {
    background: rgba(33, 150, 243, 0.2);
}

.diario-alimento-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    margin-bottom: 6px;
}

.diario-alimento-item .nome {
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
}

.diario-alimento-item .macros {
    font-size: 0.72rem;
    color: #9CA3AF;
}

.diario-alimento-item .remover {
    background: none;
    border: none;
    color: #E53935;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.diario-limpar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.2);
    color: #E53935;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.diario-limpar-btn:hover {
    background: rgba(229, 57, 53, 0.18);
}

@media (max-width: 600px) {
    .aluno-support-bar {
        flex-direction: column;
    }

    .aluno-support-btn {
        min-width: unset;
    }

    .calc-tabs {
        flex-direction: row;
    }

    .calc-tab {
        font-size: 0.78rem;
        padding: 10px 8px;
    }

    .diario-qtd-row {
        flex-direction: column;
    }

    .diario-qtd-row button {
        width: 100% !important;
    }
}

/* ═══════════════════════════════════════
   HOME SCROLLÁVEL
   ═══════════════════════════════════════ */

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.home-scroll-hint {
    margin-top: 32px;
    animation: bounceDown 1.5s infinite;
}

.home-scroll-hint .material-icons-round {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ── Seção Sobre Osiana Feitosa ═══════════════ */
.home-osiana {
    background: linear-gradient(180deg, #0d0d14 0%, #0a0a12 100%);
    padding: 60px 24px 40px;
    text-align: center;
}

.home-osiana-container {
    max-width: 680px;
    margin: 0 auto;
}

.home-osiana-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a238ff, #7c1fd6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulseBadge 3s ease-in-out infinite;
}

.home-osiana-badge .material-icons-round {
    font-size: 28px;
    color: #fff;
}

@keyframes pulseBadge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(162, 56, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 24px 6px rgba(162, 56, 255, 0.15);
    }
}

.home-osiana-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #E5E7EB;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.home-osiana-title span {
    background: linear-gradient(135deg, #a238ff, #d68fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-osiana-text {
    font-family: 'Poppins', sans-serif;
    color: #9CA3AF;
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.home-osiana-text strong {
    color: #D1D5DB;
    font-weight: 600;
}

.home-osiana-text em {
    color: #a238ff;
    font-style: normal;
    font-weight: 600;
}

.home-osiana-quote {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(162, 56, 255, 0.04);
    border-left: 3px solid #a238ff;
    border-radius: 0 12px 12px 0;
    text-align: center;
    position: relative;
}

.home-osiana-quote>.material-icons-round {
    position: absolute;
    top: -10px;
    left: 12px;
    font-size: 32px;
    color: rgba(162, 56, 255, 0.25);
}

.home-osiana-quote p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    color: #D1D5DB;
    line-height: 1.7;
    margin: 0;
}

.home-osiana-author {
    display: block;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #a238ff;
}

@media (max-width: 480px) {
    .home-osiana {
        padding: 40px 18px 30px;
    }

    .home-osiana-title {
        font-size: 1.3rem;
    }

    .home-osiana-text {
        font-size: 0.85rem;
    }

    .home-osiana-quote {
        padding: 16px 18px;
    }

    .home-osiana-quote p {
        font-size: 0.85rem;
    }
}

.home-about {
    background: #0a0a12;
    padding: 80px 24px;
    text-align: center;
}

.home-about-container {
    max-width: 960px;
    margin: 0 auto;
}

.home-about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.home-about-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-bottom: 48px;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.home-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.3s ease;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(162, 56, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.home-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.home-feature-icon .material-icons-round {
    font-size: 24px;
    color: #fff;
}

.home-feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.home-feature-card p {
    font-size: 0.82rem;
    color: #9CA3AF;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-about-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .home-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   ESQUECI MINHA SENHA
   ═══════════════════════════════════════ */
.login-forgot-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #a238ff;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 8px;
    text-align: right;
    transition: color 0.2s ease;
}

.login-forgot-btn:hover {
    color: #c77dff;
}

/* ═══════════════════════════════════════
   AVALIAÇÃO - REDESIGN
   ═══════════════════════════════════════ */
.avaliacao-alerta {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    color: #FF9800;
}

.avaliacao-alerta .material-icons-round {
    font-size: 28px;
    flex-shrink: 0;
}

.avaliacao-alerta strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.avaliacao-alerta p {
    font-size: 0.82rem;
    color: #D1D5DB;
    margin: 0;
}

.avaliacao-btns {
    display: flex;
    gap: 12px;
}

.avaliacao-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.avaliacao-action-btn .material-icons-round {
    font-size: 32px;
}

.avaliacao-action-btn strong {
    display: block;
    font-size: 0.95rem;
}

.avaliacao-action-btn small {
    font-size: 0.72rem;
    opacity: 0.7;
}

.avaliacao-action-btn.avaliacao {
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.2);
    color: #E53935;
}

.avaliacao-action-btn.avaliacao:hover {
    background: rgba(229, 57, 53, 0.15);
}

.avaliacao-action-btn.reavaliacao {
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.2);
    color: #FF9800;
}

.avaliacao-action-btn.reavaliacao:hover {
    background: rgba(255, 152, 0, 0.15);
}

/* ═══════════════════════════════════════
   VÍDEO EMBED
   ═══════════════════════════════════════ */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-top: 8px;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Modal de vídeo */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-overlay.open {
    display: flex;
}

.video-modal-content {
    width: 100%;
    max-width: 900px;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

.video-modal-content .video-embed-container {
    border-radius: 16px;
}

/* ═══════════════════════════════════════
   NOTIFICAÇÕES BADGE
   ═══════════════════════════════════════ */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #E53935;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseNotif 2s infinite;
}

@keyframes pulseNotif {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@media (max-width: 600px) {
    .avaliacao-btns {
        flex-direction: column;
    }
}

/* Tab Label Input */
.tab-label-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #9CA3AF;
    padding: 4px 10px;
    font-size: 0.82rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s ease;
    min-width: 140px;
}

.tab-label-input:focus {
    border-color: var(--primary);
    color: #fff;
}

/* Dica vídeo thumbnail */
.dica-video-thumb {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    cursor: pointer;
}

.dica-video-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.dica-video-thumb:hover img {
    transform: scale(1.03);
}

.dica-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.dica-play-overlay:hover {
    background: rgba(0, 0, 0, 0.15);
}

.dica-play-overlay .material-icons-round {
    font-size: 56px;
    color: rgba(255, 255, 255, 0.9);
}

/* Video thumb clicável genérico */
.video-thumb-play {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 12px;
}

.video-thumb-play img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumb-play:hover img {
    transform: scale(1.03);
}

/* Video Modal Thumb */
.video-modal-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
}

.video-modal-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.video-modal-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.video-modal-play-btn .material-icons-round {
    font-size: 72px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.video-modal-play-btn span:last-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 18px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.video-modal-play-btn:hover .material-icons-round {
    transform: scale(1.15);
}

/* ═══════════════════════════════════════
   DICAS EXPANDÍVEIS DO ALUNO
   ═══════════════════════════════════════ */
.dica-expandable {
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    overflow: hidden;
}

.dica-expandable:hover {
    border-color: rgba(162, 56, 255, 0.15);
}

.dica-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    user-select: none;
}

.dica-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dica-mini-thumb {
    width: 56px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.dica-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dica-header-text {
    flex: 1;
    min-width: 0;
}

.dica-header-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #E5E7EB;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dica-preview {
    font-size: 0.75rem;
    color: #6B7280;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dica-expand-icon {
    color: #6B7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.dica-expandable.expanded .dica-expand-icon {
    transform: rotate(180deg);
    color: #a238ff;
}

.dica-body {
    display: flex;
    flex-direction: column;
    padding: 0 18px 18px;
}

.dica-video-player,
.bib-video-player {
    width: 100%;
    margin-bottom: 14px;
}

.dica-video-player .video-embed-container,
.bib-video-player .video-embed-container,
.dica-body .video-embed-container {
    width: 100%;
    margin-bottom: 14px;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .dica-header {
        gap: 10px;
        padding: 12px 14px;
    }

    .dica-body {
        padding: 0 14px 14px;
    }

    .dica-mini-thumb {
        width: 44px;
        height: 33px;
        border-radius: 6px;
    }

    .dica-header-text h4 {
        font-size: 0.84rem;
    }

    .dica-preview {
        font-size: 0.7rem;
    }
}

.dica-expandable.expanded .dica-body {
    animation: fadeInSlide 0.3s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dica-expandable.expanded {
    border-color: rgba(162, 56, 255, 0.2);
    background: rgba(162, 56, 255, 0.03);
}

.dica-full-text {
    margin-top: 12px;
}

.dica-full-text p {
    color: #D1D5DB;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* PDF Download Button */
.dica-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.2);
    border-radius: 10px;
    color: #E53935;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dica-pdf-btn:hover {
    background: rgba(229, 57, 53, 0.15);
    transform: translateY(-1px);
}

.dica-pdf-btn .material-icons-round {
    font-size: 20px;
}


/* ═══════════════════════════════════════
   BLOQUEIO POR INADIMPLÊNCIA
   ═══════════════════════════════════════ */
.aluno-bloqueio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.97);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.aluno-bloqueio-card {
    text-align: center;
    max-width: 440px;
    width: 100%;
}

.aluno-bloqueio-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(229, 57, 53, 0.12);
    border: 2px solid rgba(229, 57, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: pulseLock 2s infinite;
}

.aluno-bloqueio-icon .material-icons-round {
    font-size: 40px;
    color: #E53935;
}

@keyframes pulseLock {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 4px rgba(229, 57, 53, 0.15);
    }
}

.aluno-bloqueio-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #E53935;
    margin-bottom: 12px;
}

.aluno-bloqueio-desc {
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.aluno-bloqueio-sub {
    color: #6B7280;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

.aluno-bloqueio-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aluno-bloqueio-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aluno-bloqueio-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.aluno-bloqueio-btn.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.aluno-bloqueio-btn.logout {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
}

.aluno-bloqueio-btn.logout:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.adimplente {
    background: rgba(0, 182, 122, 0.1);
    color: #00B67A;
    border: 1px solid rgba(0, 182, 122, 0.2);
}

.status-badge.inadimplente {
    background: rgba(229, 57, 53, 0.1);
    color: #E53935;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

tr.row-inadimplente {
    background: rgba(229, 57, 53, 0.03) !important;
}

tr.row-inadimplente:hover {
    background: rgba(229, 57, 53, 0.06) !important;
}

/* ═══════════════════════════════════════
   REVISÃO DE RESPONSIVIDADE MOBILE
   ═══════════════════════════════════════ */

/* Admin sidebar → barra horizontal no mobile */
@media (max-width: 900px) {

    .admin-area,
    .app-layout {
        flex-direction: column !important;
        height: auto !important;
        min-height: 100vh;
    }

    .sidebar {
        width: 100% !important;
        min-width: 100% !important;
        max-height: 56px;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 4px 8px !important;
        gap: 2px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-brand {
        display: none !important;
    }

    .sidebar-nav {
        flex-direction: row !important;
        padding: 0 !important;
        gap: 2px !important;
        width: 100%;
        flex-wrap: nowrap !important;
    }

    .sidebar .nav-btn {
        flex-direction: column !important;
        padding: 6px 10px !important;
        font-size: 0.6rem !important;
        white-space: nowrap;
        min-width: 44px;
        gap: 2px !important;
        border-radius: 8px !important;
        flex-shrink: 0;
    }

    .sidebar .nav-btn .material-icons-round {
        font-size: 20px !important;
    }

    /* Esconder texto das nabs, só mostrar ícone */
    .sidebar .nav-btn span:not(.material-icons-round) {
        display: none !important;
    }

    .sidebar-header,
    .sidebar-footer,
    .sidebar-label {
        display: none !important;
    }

    .main-area {
        flex: 1;
        min-height: calc(100vh - 56px);
        width: 100% !important;
    }

    .topbar {
        padding: 10px 14px !important;
    }

    .topbar-title {
        font-size: 0.9rem !important;
    }

    .main-content {
        padding: 14px !important;
    }
}

/* Tabelas responsivas */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -14px;
        padding: 0 14px;
    }

    .table-container table {
        min-width: 600px;
    }

    .card-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start !important;
    }

    .card-header h2 {
        font-size: 1rem;
    }

    .card-body {
        padding: 14px !important;
    }

    .card {
        border-radius: 12px !important;
    }

    /* Config grids em stack */
    div[style*="grid-template-columns: 1fr 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Modal responsivo */
    .modal-content {
        width: 95% !important;
        max-width: none !important;
        margin: 20px auto !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-body {
        padding: 16px !important;
    }

    /* Formulários */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        /* Previne zoom no iOS */
    }
}

/* Aluno dashboard mobile */
@media (max-width: 480px) {
    .aluno-topbar {
        padding: 10px 14px !important;
    }

    .aluno-topbar-title {
        font-size: 1rem !important;
    }

    .aluno-topbar-name {
        display: none;
    }

    .aluno-content {
        padding: 50px 14px 140px 14px !important;
    }

    .aluno-welcome h2 {
        font-size: 1.1rem !important;
    }

    .aluno-welcome p {
        font-size: 0.8rem !important;
    }

    .aluno-menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .aluno-menu-card {
        padding: 14px 10px !important;
    }

    .aluno-menu-label {
        font-size: 0.78rem !important;
    }

    .aluno-menu-desc {
        font-size: 0.65rem !important;
    }

    .aluno-support-bar {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .aluno-support-btn {
        font-size: 0.75rem !important;
        padding: 10px 12px !important;
    }

    .aluno-page-header {
        padding: 0 0 12px !important;
    }

    .aluno-page-title {
        font-size: 1rem !important;
    }

    .aluno-card {
        padding: 14px !important;
    }

    /* Planos responsive */
    .plans-container {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .plan-card {
        max-width: 100% !important;
    }

    /* Bloqueio overlay */
    .aluno-bloqueio-card h2 {
        font-size: 1.2rem;
    }

    .aluno-bloqueio-desc {
        font-size: 0.85rem;
    }

    .aluno-bloqueio-icon {
        width: 64px;
        height: 64px;
    }

    .aluno-bloqueio-icon .material-icons-round {
        font-size: 32px;
    }
}

/* Treino do aluno + login mobile */
@media (max-width: 600px) {
    .treino-mensal-card {
        padding: 12px !important;
    }

    .treino-mensal-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
    }

    /* Login mobile */
    .login-card {
        margin: 16px !important;
        padding: 24px 20px !important;
    }

    .login-card h2 {
        font-size: 1.2rem !important;
    }

    /* Video embed mobile */
    .video-embed-container {
        border-radius: 8px !important;
    }

    .video-modal-content {
        max-width: 95% !important;
        padding: 12px !important;
    }

    /* Calculadora mobile */
    .macro-result-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Home features */
    .home-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Print styles */
@media print {

    .aluno-bloqueio-overlay,
    .video-modal-overlay,
    .aluno-topbar,
    .sidebar {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
   MODAL – TERMOS DE CONTRATAÇÃO
   ═══════════════════════════════════════════════════════ */
.termos-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: termosIn 0.4s ease;
}

@keyframes termosIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.termos-card {
    background: rgba(18, 20, 28, 0.98);
    border: 1px solid rgba(162, 56, 255, 0.25);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(162, 56, 255, 0.1);
    overflow: hidden;
}

/* Cabeçalho */
.termos-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(162, 56, 255, 0.05);
    flex-shrink: 0;
}

.termos-brand {
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.termos-brand-osy {
    color: #a238ff;
}

.termos-brand-treino {
    color: #ffffff;
}

.termos-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.termos-subtitulo {
    font-size: 0.8rem;
    color: #6B7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Caixa de scroll */
.termos-scroll-box {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    scroll-behavior: smooth;
    /* Scrollbar estilizada */
    scrollbar-width: thin;
    scrollbar-color: rgba(162, 56, 255, 0.4) rgba(255, 255, 255, 0.04);
}

.termos-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.termos-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.termos-scroll-box::-webkit-scrollbar-thumb {
    background: rgba(162, 56, 255, 0.4);
    border-radius: 3px;
}

.termos-scroll-box::-webkit-scrollbar-thumb:hover {
    background: rgba(162, 56, 255, 0.7);
}

/* Conteúdo dos termos */
.termos-content {
    padding: 24px 28px;
    color: #D1D5DB;
    font-size: 0.85rem;
    line-height: 1.7;
}

.termos-content p {
    margin: 0 0 12px 0;
}

.termos-content strong {
    color: #fff;
    font-weight: 700;
}

.termos-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(162, 56, 255, 0.3);
    letter-spacing: 0.02em;
}

.termos-clause {
    font-size: 0.75rem;
    font-weight: 800;
    color: #a238ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 20px 0 8px 0;
    padding: 8px 12px;
    background: rgba(162, 56, 255, 0.07);
    border-left: 3px solid #a238ff;
    border-radius: 0 6px 6px 0;
}

.termos-list {
    margin: 8px 0 12px 0;
    padding-left: 20px;
}

.termos-list li {
    margin-bottom: 6px;
    position: relative;
}

.termos-list li::marker {
    color: #a238ff;
}

.termos-assinatura {
    margin-top: 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Rodapé com checkbox e botão */
.termos-footer {
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.termos-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.termos-checkbox-label:hover {
    background: rgba(162, 56, 255, 0.06);
    border-color: rgba(162, 56, 255, 0.2);
}

.termos-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 1px;
    accent-color: #a238ff;
    cursor: pointer;
    border-radius: 5px;
}

.termos-checkbox-text {
    font-size: 0.82rem;
    color: #9CA3AF;
    line-height: 1.5;
}

.termos-checkbox-text strong {
    color: #fff;
}

/* Botão de aceitar */
.termos-aceitar-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    color: #fff;
    box-shadow: 0 4px 20px rgba(162, 56, 255, 0.35);
}

.termos-aceitar-btn:disabled {
    background: rgba(255, 255, 255, 0.07);
    color: #4B5563;
    box-shadow: none;
    cursor: not-allowed;
}

.termos-aceitar-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(162, 56, 255, 0.5);
}

.termos-aceitar-btn .material-icons-round {
    font-size: 20px;
}

@media (max-width: 600px) {
    .termos-card {
        max-height: 95vh;
        border-radius: 16px;
    }

    .termos-header {
        padding: 20px 18px 16px;
    }

    .termos-content {
        padding: 18px;
    }

    .termos-footer {
        padding: 16px 18px;
    }
}

/* ═══════════════════════════════════════════════════════
   BANNER – INSTALAR APP PWA
   ═══════════════════════════════════════════════════════ */
.pwa-install-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    padding-right: 40px;
    background: linear-gradient(135deg, rgba(162, 56, 255, 0.12), rgba(124, 77, 255, 0.08));
    border: 1px solid rgba(162, 56, 255, 0.25);
    border-radius: 16px;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease;
    position: relative;
}

.pwa-dismiss-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.pwa-dismiss-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.pwa-dismiss-btn .material-icons-round {
    font-size: 18px;
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(162, 56, 255, 0.3);
}

.pwa-install-icon .material-icons-round {
    font-size: 22px;
    color: #fff;
    animation: pwaIconBounce 2s ease-in-out infinite;
}

@keyframes pwaIconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.pwa-install-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwa-install-info strong {
    font-size: 0.88rem;
    color: #fff;
    font-weight: 700;
}

.pwa-install-info span {
    font-size: 0.72rem;
    color: #9CA3AF;
}

.pwa-install-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #a238ff, #7C4DFF);
    color: #fff;
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(162, 56, 255, 0.3);
}

.pwa-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(162, 56, 255, 0.45);
}

.pwa-install-btn .material-icons-round {
    font-size: 18px;
}

/* ═══════════════════════════════════════
   SEGURANÇA – Anti-Bot & Criptografia
   ═══════════════════════════════════════ */

/* Honeypot – Campo invisível para bots */
.osy-hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Indicador de força de senha */
.password-strength {
    margin-top: 6px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.password-strength-bar {
    display: flex;
    gap: 3px;
    flex: 1;
}

.password-strength-bar .bar-segment {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.password-strength-bar .bar-segment.active.weak {
    background: #E53935;
}

.password-strength-bar .bar-segment.active.medium {
    background: #FF9800;
}

.password-strength-bar .bar-segment.active.strong {
    background: #00B67A;
}

.password-strength-label {
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
    transition: color 0.3s ease;
}

.password-strength-label.weak {
    color: #E53935;
}

.password-strength-label.medium {
    color: #FF9800;
}

.password-strength-label.strong {
    color: #00B67A;
}

/* Rate Limiting Message */
.rate-limit-msg {
    display: none;
    padding: 12px 16px;
    background: rgba(229, 57, 53, 0.12);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 10px;
    color: #E53935;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 8px;
    animation: fadeInShake 0.4s ease;
}

.rate-limit-msg.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rate-limit-msg .material-icons-round {
    font-size: 18px;
}

.rate-limit-countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@keyframes fadeInShake {
    0% { opacity: 0; transform: translateX(-8px); }
    50% { transform: translateX(4px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Security badge no formulário */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 182, 122, 0.08);
    border: 1px solid rgba(0, 182, 122, 0.2);
    border-radius: 8px;
    color: #00B67A;
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 12px;
    letter-spacing: 0.3px;
}

.security-badge .material-icons-round {
    font-size: 15px;
}

/* reCAPTCHA badge - reposicionar */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Mensagem de senha requisitos */
.password-requirements {
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 4px;
    line-height: 1.4;
    padding-left: 4px;
}

.password-requirements.error {
    color: #E53935;
}

/* ═══════════════════════════════════════
   DEPOIMENTOS NA HOME
   ═══════════════════════════════════════ */
.home-testimonials {
    padding: 60px 20px;
    background: #0a0a12 !important;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.testimonial-card {
    background: rgba(25, 25, 40, 0.85) !important;
    border: 1px solid rgba(162, 56, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(162, 56, 255, 0.4);
    box-shadow: 0 10px 30px rgba(162, 56, 255, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a238ff, #7C4DFF) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white !important;
    box-shadow: 0 4px 10px rgba(162, 56, 255, 0.3);
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff !important;
}

.testimonial-info p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: #a238ff !important;
    font-weight: 600;
}

.testimonial-stars {
    color: #FFB300 !important;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #d0d0d0 !important;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-text::before {
    content: '"';
    color: rgba(162, 56, 255, 0.5);
    font-size: 1.5rem;
    font-family: serif;
    margin-right: 4px;
}
.testimonial-text::after {
    content: '"';
    color: rgba(162, 56, 255, 0.5);
    font-size: 1.5rem;
    font-family: serif;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .home-testimonials {
        padding: 40px 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}
/* --- Countries Badge --- */
.home-countries-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 8px 20px 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease 0.5s both;
}

.countries-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.countries-flags {
    display: flex;
    align-items: center;
}

.country-flag {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #14141e;
    margin-left: -10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, z-index 0s;
    position: relative;
}

.country-flag:first-child {
    margin-left: 0;
}

.country-flag:hover {
    transform: scale(1.15) translateY(-2px);
    z-index: 10;
}

