/* Estilos Gerais - Cores exatas do YouTube 2025 */
:root {
    /* Cores principais */
    --yt-red: #ff0000; /* Vermelho do YouTube */
    --yt-dark-red: #cc0000; /* Vermelho escuro do YouTube */
    --yt-blue: #065fd4; /* Azul do YouTube para links e botões */
    --yt-dark-blue: #0b57be; /* Azul escuro para hover */
    --yt-black: #0f0f0f; /* Preto do YouTube */
    --yt-text-primary: #0f0f0f; /* Texto principal */
    --yt-text-secondary: #606060; /* Texto secundário */
    --yt-text-disabled: #909090; /* Texto desabilitado */
    
    /* Cores de fundo */
    --yt-background-white: #ffffff; /* Fundo branco */
    --yt-background-light: #f9f9f9; /* Fundo cinza claro */
    --yt-background-hover: #f2f2f2; /* Fundo de hover */
    --yt-background-dark: #0f0f0f; /* Fundo modo escuro */
    
    /* Cores de borda */
    --yt-border-light: #e5e5e5; /* Borda clara */
    --yt-border-dark: #cccccc; /* Borda escura */
    
    /* Cores de status */
    --yt-success: #2ba640; /* Verde para sucesso */
    --yt-warning: #f9a825; /* Amarelo para avisos */
    --yt-error: #cc0000; /* Vermelho para erros */
    
    /* Mapeamento para variáveis Bootstrap */
    --primary-color: var(--yt-red);
    --secondary-color: var(--yt-text-secondary);
    --success-color: var(--yt-success);
    --info-color: var(--yt-red); /* Alterado para vermelho do YouTube */
    --warning-color: var(--yt-warning);
    --danger-color: var(--yt-red); /* Alterado para vermelho do YouTube */
    --light-color: var(--yt-background-light);
    --dark-color: var(--yt-text-primary);
}

/* Estilos base */
body {
    font-family: 'Roboto', 'YouTube Sans', Arial, sans-serif; /* Fonte oficial do YouTube */
    background-color: var(--yt-background-light);
    color: var(--yt-text-primary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevenir scroll horizontal */
    position: relative;
    width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--yt-text-primary);
}

a {
    color: var(--yt-red);
    text-decoration: none;
}

a:hover {
    color: var(--yt-dark-red);
    text-decoration: none;
}

/* Scrollbar estilo YouTube */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--yt-background-white);
}

::-webkit-scrollbar-thumb {
    background: #909090;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Navbar estilo YouTube */
.navbar {
    padding: 0;
    height: 56px; /* Altura padrão da navbar do YouTube */
    border-bottom: 1px solid var(--yt-border-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    background-color: var(--yt-background-white) !important;
}

.navbar-brand {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--yt-text-primary) !important;
    padding: 18px 14px 18px 16px;
    margin-right: 0;
    display: flex;
    align-items: center;
}

.navbar-brand i.fab.fa-youtube {
    color: var(--yt-red);
    font-size: 24px;
    margin-right: 4px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--yt-text-primary);
    font-size: 14px;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.navbar-light .navbar-nav .nav-link:hover {
    background-color: var(--yt-background-hover);
}

/* Barra de pesquisa estilo YouTube */
.navbar .form-control {
    height: 40px;
    background-color: var(--yt-background-light);
    border: 1px solid var(--yt-border-dark);
    font-size: 14px;
    width: 100%;
    padding-left: 16px;
    transition: box-shadow 0.2s;
}

.navbar .form-control:focus {
    background-color: var(--yt-background-white);
    border-color: var(--yt-red);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.15);
    outline: none;
}

.navbar .btn-outline-secondary {
    height: 40px;
    background-color: #f8f8f8;
    border: 1px solid var(--yt-border-dark);
    color: var(--yt-text-secondary);
    padding: 0 20px;
}

.navbar .btn-outline-secondary:hover {
    background-color: #f0f0f0;
    color: var(--yt-text-primary);
}

/* Menu lateral estilo YouTube */
.sidebar {
    background-color: var(--yt-background-white);
    width: 240px;
    height: calc(100vh - 56px);
    position: fixed;
    top: 56px;
    left: 0;
    overflow: hidden;
    z-index: 1000;
    border-right: 1px solid var(--yt-border-light);
    transition: transform 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.sidebar-scrollable {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    padding: 12px 0 20px 0;
    -webkit-overflow-scrolling: touch; /* Para melhor rolagem em dispositivos iOS */
}

.sidebar-divider {
    height: 1px;
    background-color: var(--yt-border-light);
    margin: 12px 24px;
}

.sidebar-category {
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--yt-text-secondary);
    margin-top: 8px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--yt-text-primary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 10px;
    margin: 0 12px 1px 12px;
    transition: all 0.2s;
    position: relative;
    height: 40px;
}

.sidebar-item:hover {
    background-color: var(--yt-background-hover);
}

.sidebar-item.active {
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--yt-red);
    font-weight: 500;
}

.sidebar-item.active i {
    color: var(--yt-red);
}

.sidebar-item i {
    margin-right: 24px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--yt-text-secondary);
    transition: color 0.2s;
}

.sidebar-item:hover i {
    color: var(--yt-text-primary);
}

.nav-link {
    color: var(--yt-text-primary);
    transition: color 0.2s;
    padding: 0;
}

.nav-link:hover {
    color: var(--yt-text-primary);
}

.nav-link.sidebar-item {
    color: var(--yt-text-primary);
}

.nav-link.sidebar-item:hover {
    color: var(--yt-text-primary);
    text-decoration: none;
}

.nav-link.sidebar-item.active {
    color: var(--yt-red);
}

/* Cards estilo YouTube */
.card {
    border: none;
    border-radius: 12px; /* Cantos mais arredondados como no YouTube */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
    background-color: var(--yt-background-white);
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--yt-background-white);
    border-bottom: 1px solid var(--yt-border-light);
    padding: 16px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Card com fundo vermelho */
.bg-danger .card-header,
.bg-primary .card-header,
.bg-danger .card-title,
.bg-primary .card-title,
.bg-danger .card-text,
.bg-primary .card-text,
.bg-danger h1, .bg-danger h2, .bg-danger h3, .bg-danger h4, .bg-danger h5, .bg-danger h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6 {
    color: white !important;
}

.card .card-header .m-0 {
    font-weight: 500; /* YouTube usa fontes menos pesadas */
    font-size: 16px;
    color: var(--yt-text-primary);
}

.card-body {
    padding: 20px;
    color: var(--yt-text-primary);
}

.card-footer {
    background-color: var(--yt-background-white);
    border-top: 1px solid var(--yt-border-light);
    padding: 12px 20px;
}

/* Bordas coloridas para cards - estilo YouTube */
.border-left-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 4px solid var(--success-color) !important;
}

/* Cards com bordas coloridas */
.border-primary,
.border-danger {
    border-color: var(--yt-red) !important;
}

.border-primary .card-header,
.border-danger .card-header,
.bg-danger .card-header,
.bg-primary .card-header {
    background-color: var(--yt-red);
    color: white !important;
    border-bottom: none;
}

.border-primary .card-header *,
.border-danger .card-header *,
.bg-danger .card-header *,
.bg-primary .card-header * {
    color: white !important;
}

.border-left-info {
    border-left: 4px solid var(--info-color) !important;
}

/* Botões estilo YouTube */
.btn {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 2px;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--yt-red);
    border-color: var(--yt-red);
    color: white;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--yt-dark-red) !important;
    border-color: var(--yt-dark-red) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.btn-danger {
    background-color: var(--yt-red);
    border-color: var(--yt-red);
    color: white;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: var(--yt-dark-red) !important;
    border-color: var(--yt-dark-red) !important;
    color: white !important;
}

.btn-outline-primary {
    border-color: var(--yt-red);
    color: var(--yt-red);
}

.btn-outline-primary:hover {
    background-color: rgba(255, 0, 0, 0.04);
    color: var(--yt-red);
    border-color: var(--yt-red);
}

.btn-link {
    color: var(--yt-red);
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
}

.btn-link:hover {
    background-color: var(--yt-background-hover);
    color: var(--yt-dark-red);
}

/* Botão de inscrição estilo YouTube */
.btn-subscribe {
    background-color: var(--yt-red);
    color: white;
    border: none;
    border-radius: 2px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn-subscribe:hover {
    background-color: var(--yt-dark-red);
}

/* Estilos para vídeos (thumbnails) - Estilo exato do YouTube */
.video-item {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.video-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    width: 100%;
    background-color: #e5e5e5; /* Cor de fundo para thumbnails em carregamento */
}

.video-thumbnail::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* Proporção 16:9 */
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 4px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.video-info {
    display: flex;
    padding: 0 8px;
}

.video-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.video-details {
    flex-grow: 1;
}

.video-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Propriedade padrão para compatibilidade */
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--yt-text-primary);
}

.video-channel {
    font-size: 14px;
    color: var(--yt-text-secondary);
    margin-bottom: 2px;
    font-weight: 400;
}

.video-stats {
    font-size: 14px;
    color: var(--yt-text-secondary);
    display: flex;
    align-items: center;
}

.video-stats span:not(:last-child)::after {
    content: "\2022"; /* Bullet point */
    margin: 0 4px;
    color: var(--yt-text-secondary);
}

/* Grid de vídeos estilo YouTube */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 576px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Comentários estilo YouTube - Exatamente como no YouTube */
.comments-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--yt-border-light);
}

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

.comments-count {
    font-size: 16px;
    font-weight: 500;
    color: var(--yt-text-primary);
}

.comments-sort {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--yt-text-primary);
    cursor: pointer;
}

.comments-sort i {
    margin-right: 4px;
}

.comment-item {
    padding: 16px 0;
    margin-bottom: 8px;
}

.comment-author {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}

.comment-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    background-color: #e5e5e5;
    overflow: hidden;
}

.comment-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}

.comment-author-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--yt-text-primary);
    margin-right: 8px;
    text-decoration: none;
}

.comment-author-name:hover {
    color: var(--yt-text-primary);
}

.comment-date {
    font-size: 12px;
    color: var(--yt-text-secondary);
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--yt-text-primary);
    margin-bottom: 8px;
    white-space: pre-line;
}

.comment-actions {
    display: flex;
    align-items: center;
}

.comment-action-btn {
    background: none;
    border: none;
    color: var(--yt-text-secondary);
    font-size: 14px;
    padding: 8px 16px 8px 0;
    margin-right: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.comment-action-btn:hover {
    color: var(--yt-text-primary);
}

.comment-action-btn i {
    margin-right: 6px;
    font-size: 16px;
}

.comment-likes {
    margin-right: 16px;
}

.comment-replies {
    margin-top: 8px;
    margin-left: 56px;
    position: relative;
}

.comment-replies::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--yt-border-light);
}

.comment-reply-btn {
    color: var(--yt-red);
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.comment-reply-btn i {
    margin-right: 8px;
}

.comment-reply-btn:hover {
    color: var(--yt-dark-red);
}

.border-left-warning {
    border-left: 0.25rem solid var(--warning-color) !important;
}

.border-left-danger {
    border-left: 0.25rem solid var(--danger-color) !important;
}

/* Botões */
.btn {
    border-radius: 0.35rem;
}

.btn-icon-split {
    display: inline-flex;
    align-items: center;
}

.btn-icon-split .icon {
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 0.375rem 0.75rem;
}

.btn-icon-split .text {
    display: inline-block;
    padding: 0.375rem 0.75rem;
}

/* Tabelas */
.table th {
    font-weight: 700;
    color: var(--dark-color);
}

/* Paginação */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

/* Ícones de recursos */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

/* Comentários */
.comment-card {
    transition: all 0.2s ease;
}

.comment-card:hover {
    background-color: rgba(78, 115, 223, 0.05);
}

/* Dashboard */
.chart-area {
    position: relative;
    height: 20rem;
    width: 100%;
}

/* Animações */
.animated--fade-in {
    animation-name: fadeIn;
    animation-duration: 200ms;
    animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .chart-area {
        height: 15rem;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Conteúdo principal */
.main-content {
    margin-left: 240px;
    padding: 24px;
    min-height: calc(100vh - 56px);
    transition: margin-left 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

.main-content-full {
    margin-left: 72px;
}

/* Corrigir o layout em telas menores */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}

/* Ajuste para o container principal */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Ajuste para o layout da página */
.row.g-0 {
    margin-right: 0;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Página Inicial */
.hero-section {
    padding: 5rem 0;
}

/* Cards da página inicial */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card.bg-danger .card-title,
.feature-card.bg-primary .card-title,
.feature-card.bg-danger .card-text,
.feature-card.bg-primary .card-text,
.feature-card.bg-danger i,
.feature-card.bg-primary i {
    color: white !important;
}

/* Estilos para planos de assinatura - Estilo Premium do YouTube */
.card.bg-danger .card-title,
.card.bg-danger .card-text,
.card.bg-primary .card-title,
.card.bg-primary .card-text {
    color: white !important;
}
.pricing-section {
    padding: 40px 0;
    background-color: var(--yt-background-white);
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--yt-text-primary);
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 16px;
    color: var(--yt-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--yt-border-light);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--yt-background-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--yt-border-dark);
}

.pricing-card.popular {
    border-color: var(--yt-red);
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular::before {
    content: "Mais Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yt-red);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.pricing-card-header {
    margin-bottom: 24px;
}

.pricing-card-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--yt-text-primary);
    margin-bottom: 8px;
}

.pricing-card-subtitle {
    font-size: 14px;
    color: var(--yt-text-secondary);
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--yt-text-primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.pricing-card .price .currency {
    font-size: 18px;
    font-weight: 500;
    margin-right: 4px;
    position: relative;
    top: -8px;
}

.pricing-card .price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--yt-text-secondary);
    margin-left: 4px;
}

.pricing-card .price-info {
    font-size: 14px;
    color: var(--yt-text-secondary);
    margin-bottom: 24px;
}

.pricing-card .features {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    text-align: left;
    flex-grow: 1;
}

.pricing-card .features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--yt-border-light);
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--yt-text-primary);
}

.pricing-card .features li i {
    color: var(--yt-success);
    margin-right: 12px;
    font-size: 16px;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-subscribe {
    margin-top: 24px;
    width: 100%;
    padding: 12px;
    font-size: 15px;
}

.pricing-card.popular .btn-subscribe {
    background-color: var(--yt-red);
}

.pricing-card.popular .btn-subscribe:hover {
    background-color: var(--yt-dark-red);
}

/* Badges de planos */
.plan-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.plan-badge-basic {
    background-color: #e5e5e5;
    color: var(--yt-text-primary);
}

.plan-badge-standard {
    background-color: #ffe6e6;
    color: var(--yt-red);
}

.plan-badge-premium {
    background-color: #ffd7d7;
    color: var(--yt-red);
}

/* Estilos para tabelas - Estilo YouTube */
.table {
    color: var(--yt-text-primary);
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 24px;
    background-color: var(--yt-background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: var(--yt-background-light);
    border-bottom: 1px solid var(--yt-border-light);
    font-weight: 500;
    color: var(--yt-text-primary);
    padding: 16px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table tbody tr:hover {
    background-color: var(--yt-background-hover);
}

.table td, .table th {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: 1px solid var(--yt-border-light);
}

.table tbody tr:first-child td {
    border-top: none;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Status badges para tabelas */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: rgba(43, 166, 64, 0.1);
    color: var(--yt-success);
}

.status-pending {
    background-color: rgba(249, 168, 37, 0.1);
    color: var(--yt-warning);
}

.status-inactive {
    background-color: rgba(204, 0, 0, 0.1);
    color: var(--yt-error);
}

/* Footer estilo YouTube */
footer {
    background-color: var(--yt-background-white);
    padding: 40px 0 24px;
    border-top: 1px solid var(--yt-border-light);
    margin-top: 60px;
    color: var(--yt-text-secondary);
}

/* Estilos para páginas de análise e estatísticas - Estilo YouTube Studio */
.analytics-header {
    margin-bottom: 32px;
}

.analytics-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--yt-text-primary);
    margin-bottom: 8px;
}

.analytics-subtitle {
    font-size: 14px;
    color: var(--yt-text-secondary);
}

.analytics-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.analytics-date-range {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--yt-border-dark);
    border-radius: 4px;
    font-size: 14px;
    color: var(--yt-text-primary);
    background-color: var(--yt-background-white);
    cursor: pointer;
}

.analytics-date-range i {
    margin-left: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats-card {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    background-color: var(--yt-background-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stats-card .stats-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--yt-red);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.1);
}

.stats-card.stats-views .stats-icon {
    color: var(--yt-red);
    background-color: rgba(255, 0, 0, 0.1);
}

.stats-card.stats-comments .stats-icon {
    color: var(--yt-red);
    background-color: rgba(255, 0, 0, 0.1);
}

/* Cards com fundo vermelho nas estatísticas */
.stats-card.bg-danger .stats-value,
.stats-card.bg-primary .stats-value,
.stats-card.bg-danger .stats-label,
.stats-card.bg-primary .stats-label {
    color: white !important;
}

.stats-card.bg-danger .stats-icon,
.stats-card.bg-primary .stats-icon {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.stats-card.stats-videos .stats-icon {
    color: var(--yt-success);
    background-color: rgba(43, 166, 64, 0.1);
}

.stats-card.stats-engagement .stats-icon {
    color: var(--yt-warning);
    background-color: rgba(249, 168, 37, 0.1);
}

.stats-card .stats-value {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--yt-text-primary);
}

.stats-card .stats-label {
    font-size: 14px;
    color: var(--yt-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-card .stats-trend {
    margin-top: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.stats-trend-up {
    color: var(--yt-success);
}

.stats-trend-down {
    color: var(--yt-error);
}

.stats-trend i {
    margin-right: 4px;
}

/* Estilos para gráficos */
.chart-container {
    background-color: var(--yt-background-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

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

.chart-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--yt-text-primary);
}

.chart-legend {
    display: flex;
    gap: 16px;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--yt-text-secondary);
}

.chart-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 4px;
}

.chart-canvas {
    width: 100%;
    height: 300px;
}

/* Utilitários */
.text-primary {
    color: var(--yt-red) !important;
}

.text-success {
    color: var(--yt-success) !important;
}

.text-info {
    color: var(--yt-red) !important;
}

.text-warning {
    color: var(--yt-warning) !important;
}

.text-danger {
    color: var(--yt-error) !important;
}

.bg-primary {
    background-color: var(--yt-red) !important;
}

.bg-success {
    background-color: var(--yt-success) !important;
}

.bg-info {
    background-color: var(--yt-red) !important;
}

.bg-warning {
    background-color: var(--yt-warning) !important;
}

.bg-danger {
    background-color: var(--yt-error) !important;
}

.bg-gradient {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}
