/* CSS AREA DE MEMBROS */

       .glass-card {
    background: rgba(255, 255, 255, 0.8);
    
            backdrop-filter: blur(10px);
    
            border: 1px solid rgba(16, 185, 129, 0.1);
    
}

.gradient-button {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    
            box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
    
}

.gradient-button:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(5, 150, 105, 0.3);
    
}

.gradient-button-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
            box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
    
}

.gradient-button-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
    
}

.icon-gradient {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.7);
    
            backdrop-filter: blur(5px);
    
}

.terms-content {
    background: rgba(249, 250, 251, 0.8);
    
            backdrop-filter: blur(5px);
    
            border: 1px solid rgba(16, 185, 129, 0.1);
    
}

.user-info-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    
            border: 1px solid rgba(16, 185, 129, 0.2);
    
}

.warning-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    
            border: 1px solid rgba(251, 191, 36, 0.3);
    
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    
            border: 1px solid rgba(239, 68, 68, 0.3);
    
}

/* Scrollbar personalizada */
        .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
            border-radius: 10px;
    
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 10px;
    
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
}

.gradient-button-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
            box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
    
}

.gradient-button-red:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
    
}

.contact-item {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            transition: all 0.3s ease;
    
            border: 2px solid rgba(16, 185, 129, 0.1);
    
}

.contact-item:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    
            border-color: rgba(16, 185, 129, 0.2);
    
}

.contact-item.active {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            color: white;
    
            border-color: rgba(16, 185, 129, 0.4);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    
}

.message-user {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    
            border: 1px solid rgba(156, 163, 175, 0.2);
    
}

.message-ai {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    
            border: 1px solid rgba(16, 185, 129, 0.2);
    
}

.input-modern {
    background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
}

.input-modern:focus {
    border-color: rgba(16, 185, 129, 0.4);
    
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    
            background: rgba(255, 255, 255, 0.9);
    
}

.error-alert {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
            box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    
}

/* Barra de rolagem verde */
        .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
            border-radius: 4px;
    
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 4px;
    
}

.chat-container {
    height: calc(100vh - 8rem);
     /* Reduzido de 2rem para 6rem */
}

.contacts-sidebar {
    height: calc(100vh - 8rem);
     /* Reduzido de 2rem para 6rem */
}

.messages-area {
    height: calc(100vh - 20rem);
     /* Aumentado de 8rem para 16rem */
}

/* Adicione esta nova classe para a área de contatos: */
        .contacts-list {
    height: calc(100% - 110px);
     /* Reduzido de 140px para 180px */
}

/* Adicione para corrigir a rolagem horizontal: */
        .messages-container {
    overflow-x: hidden;
    
            overflow-y: auto;
    
}

/* Para as mensagens individuais: */
        .message-bubble {
    max-width: 70%;
     /* Reduzido de 75% para 70% */
            word-wrap: break-word;
    
            overflow-wrap: break-word;
    
}

.gradient-bg {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #ecfeff 100%);
    
}

.gradient-button-red {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    
            box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
    
}

.gradient-button-red:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
    
}

.status-connected {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    
}

.status-disconnected {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    
}

.qr-container {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            border: 2px dashed rgba(16, 185, 129, 0.3);
    
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    
}

@keyframes pulse {
    0%, 100% {
                opacity: 1;
    
}

50% {
    opacity: .5;
    
}

}

/* Barra de rolagem verde */
        body::-webkit-scrollbar {
    width: 14px;
    
}

body::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
            border-radius: 7px;
    
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 7px;
    
            border: 1px solid rgba(255, 255, 255, 0.3);
    
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
            border-radius: 3px;
    
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 3px;
    
}

.success-alert {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    
}

.radio-modern {
    appearance: none;
    
            width: 20px;
    
            height: 20px;
    
            border: 2px solid rgba(16, 185, 129, 0.3);
    
            border-radius: 50%;
    
            background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            transition: all 0.3s ease;
    
            position: relative;
    
}

.radio-modern:checked {
    border-color: #10b981;
    
            background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
}

.radio-modern:checked::after {
    content: '';
    
            position: absolute;
    
            top: 50%;
    
            left: 50%;
    
            transform: translate(-50%, -50%);
    
            width: 8px;
    
            height: 8px;
    
            border-radius: 50%;
    
            background: white;
    
}

.checkbox-modern {
    appearance: none;
    
            width: 20px;
    
            height: 20px;
    
            border: 2px solid rgba(16, 185, 129, 0.3);
    
            border-radius: 6px;
    
            background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            transition: all 0.3s ease;
    
            position: relative;
    
}

.checkbox-modern:checked {
    border-color: #10b981;
    
            background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
}

.checkbox-modern:checked::after {
    content: '✓';
    
            position: absolute;
    
            top: 50%;
    
            left: 50%;
    
            transform: translate(-50%, -50%);
    
            color: white;
    
            font-size: 12px;
    
            font-weight: bold;
    
}

.notification-card {
    background: rgba(255, 255, 255, 0.6);
    
            backdrop-filter: blur(8px);
    
            border: 1px solid rgba(16, 185, 129, 0.1);
    
            transition: all 0.3s ease;
    
}

.notification-card:hover {
    background: rgba(255, 255, 255, 0.8);
    
            transform: translateY(-2px);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    
}

.notification-card.selected {
    border-color: rgba(16, 185, 129, 0.4);
    
            background: rgba(16, 185, 129, 0.05);
    
}

.main-content {
    padding-top: 80px;
    
}

/* Barra de rolagem verde */
        body::-webkit-scrollbar {
    width: 14px;
    
}

.file-item {
    background-color: #f0f0f0;
    
        padding: 10px;
    
        margin-bottom: 5px;
    
}

.file-item:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    
            transform: translateY(-2px);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
    
            backdrop-filter: blur(4px);
    
}

.textarea-modern {
    background: rgba(255, 255, 255, 0.5);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
}

.textarea-modern:focus {
    border-color: rgba(16, 185, 129, 0.4);
    
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    
            background: rgba(255, 255, 255, 0.8);
    
}

/* Barra de rolagem verde para toda a página */
        body::-webkit-scrollbar {
    width: 14px;
    
}

/* Barra de rolagem verde para áreas específicas */
        .custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    
}

.textarea-modern {
    background: rgba(255, 255, 255, 0.5);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
            resize: both;
     /* Permite redimensionar */
            min-height: 250px;
     /* Altura mínima */
            max-height: 600px;
     /* Altura máxima */
            min-width: 100%;
     /* Largura mínima */
            max-width: 100%;
     /* Largura máxima */
}

/* Barra de rolagem verde para textarea */
        .textarea-modern::-webkit-scrollbar {
    width: 8px;
    
}

.textarea-modern::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
            border-radius: 4px;
    
}

.textarea-modern::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 4px;
    
}

.textarea-modern::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
}

.gradient-button-red {
    background: linear-gradient(135deg,rgb(233, 137, 137) 0%, #f87171 100%);
    
            box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
    
            color: white;
    
            transition: all 0.3s ease;
    
}

.gradient-button-red:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
    
}

.followup-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            transition: all 0.3s ease;
    
            border: 2px solid rgba(16, 185, 129, 0.1);
    
}

.followup-card:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    
            transform: translateY(-2px);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    
            border-color: rgba(16, 185, 129, 0.2);
    
}

.textarea-modern {
    background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
            resize: vertical;
    
            min-height: 120px;
    
}

.textarea-modern:focus {
    border-color: rgba(16, 185, 129, 0.4);
    
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    
            background: rgba(255, 255, 255, 0.9);
    
}

.textarea-modern::-webkit-scrollbar {
    width: 8px;
    
}

.followup-number {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            width: 32px;
    
            height: 32px;
    
            border-radius: 50%;
    
            display: flex;
    
            align-items: center;
    
            justify-content: center;
    
            color: white;
    
            font-weight: bold;
    
            font-size: 14px;
    
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    
}

.time-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
            color: white;
    
            padding: 4px 12px;
    
            border-radius: 20px;
    
            font-size: 12px;
    
            font-weight: 600;
    
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    
            backdrop-filter: blur(10px);
    
            border: 1px solid rgba(16, 185, 129, 0.1);
    
            padding: 2rem;
    
}

.input-modern {
    background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
            padding-left: 2.5rem;
     /* Adicione esta linha para dar espaço ao ícone */
}

.input-icon {
    color: rgba(16, 185, 129, 0.6);
    
            z-index: 10;
     /* Adicione esta linha para garantir que fique por cima */
            position: relative;
     /* Adicione esta linha */
}

.forgot-link {
    color: #059669;
    
            transition: all 0.3s ease;
    
}

.forgot-link:hover {
    color: #047857;
    
            text-decoration: underline;
    
}

.login-bg {
    background: linear-gradient(135deg, #73E5B9 0%, #FFFFFF 100%);
    
            min-height: 100vh;
    
            display: flex;
    
            align-items: center;
    
            justify-content: center;
    
            padding: 2rem;
    
}

.login-logo {
    width: 80px;
    
            height: auto;
    
            margin-bottom: 1.5rem;
    
}

.login-title {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    
            -webkit-background-clip: text;
    
            -webkit-text-fill-color: transparent;
    
            background-clip: text;
    
            text-fill-color: transparent;
    
}

.password-toggle {
    cursor: pointer;
    
            color: rgba(16, 185, 129, 0.6);
    
            transition: all 0.3s ease;
    
            z-index: 10;
     /* Adicione esta linha */
            position: relative;
     /* Adicione esta linha */
}

.password-toggle:hover {
    color: rgba(16, 185, 129, 1);
    
}

.login-decoration {
    position: absolute;
    
            width: 300px;
    
            height: 300px;
    
            border-radius: 50%;
    
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
    
            filter: blur(40px);
    
            z-index: -1;
    
}

@keyframes float {
    0% { transform: translateY(0px);
    
}

50% {
    transform: translateY(-20px);
    
}

100% {
    transform: translateY(0px);
    
}

}
        
        .float-1 {
    animation: float 7s ease-in-out infinite;
    
            top: 10%;
    
            left: 15%;
    
}

.float-2 {
    animation: float 9s ease-in-out infinite;
    
            bottom: 10%;
    
            right: 15%;
    
}

.float-3 {
    animation: float 8s ease-in-out infinite;
    
            top: 50%;
    
            right: 25%;
    
}

.chat-scroll {
    scroll-behavior: smooth;
    
}

.bubble {
    word-break: break-word;
    
}

.chat-container {
    height: calc(80vh - 12rem);
    
}

.typing-indicator {
    display: none;
    
}

.typing-indicator.show {
    display: flex;
    
}

.typing-dots {
    display: flex;
    
            gap: 4px;
    
}

.typing-dots span {
    width: 8px;
    
            height: 8px;
    
            border-radius: 50%;
    
            background: #10b981;
    
            animation: typing 1.4s infinite ease-in-out;
    
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
    
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
    
}

@keyframes typing {
    0%, 80%, 100% { transform: scale(0);
    
}

40% {
    transform: scale(1);
    
}
}

.input-readonly {
    background: rgba(243, 244, 246, 0.7);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(156, 163, 175, 0.2);
    
}

.profile-photo {
    position: relative;
    
            transition: all 0.3s ease;
    
}

.profile-photo:hover {
    transform: scale(1.05);
    
}

.profile-photo::after {
    content: '';
    
            position: absolute;
    
            inset: 0;
    
            border-radius: 50%;
    
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(20, 184, 166, 0.2) 100%);
    
            opacity: 0;
    
            transition: opacity 0.3s ease;
    
}

.profile-photo:hover::after {
    opacity: 1;
    
}

.upload-overlay {
    position: absolute;
    
            inset: 0;
    
            border-radius: 50%;
    
            background: rgba(0, 0, 0, 0.5);
    
            display: flex;
    
            align-items: center;
    
            justify-content: center;
    
            opacity: 0;
    
            transition: opacity 0.3s ease;
    
}

.profile-photo:hover .upload-overlay {
    opacity: 1;
    
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    
    backdrop-filter: blur(10px);
    
    border: 1px solid rgba(16, 185, 129, 0.1);
    
}

.gradient-button {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
    
}

.gradient-button:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
    transform: translateY(-1px);
    
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.3);
    
}

.file-item {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
    transition: all 0.3s ease;
    
}

.file-item:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    
    transform: translateY(-2px);
    
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
    
    backdrop-filter: blur(4px);
    
}

.success-alert {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    
}

body::-webkit-scrollbar {
    width: 14px;
    
}

body::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
    border-radius: 7px;
    
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
    border-radius: 7px;
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
    border-radius: 3px;
    
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
    border-radius: 3px;
    
}

.textarea-modern {
    background: rgba(255, 255, 255, 0.5);
    
    backdrop-filter: blur(5px);
    
    border: 2px solid rgba(16, 185, 129, 0.2);
    
    transition: all 0.3s ease;
    
    resize: both;
    
    min-height: 250px;
    
    max-height: 600px;
    
    min-width: 100%;
    
    max-width: 100%;
    
}

.textarea-modern:focus {
    border-color: rgba(16, 185, 129, 0.4);
    
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    
    background: rgba(255, 255, 255, 0.8);
    
}

.textarea-modern::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.1);
    
    border-radius: 4px;
    
}

.textarea-modern::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
    border-radius: 4px;
    
}

.input-modern {
    background: rgba(255, 255, 255, 0.7);
    
            backdrop-filter: blur(5px);
    
            border: 2px solid rgba(16, 185, 129, 0.2);
    
            transition: all 0.3s ease;
    
            padding-left: 2.5rem;
    
}

.input-icon {
    color: rgba(16, 185, 129, 0.6);
    
            z-index: 10;
    
            position: relative;
    
}

.login-logo {
    width: 80px;
    
            height: auto;
    
            margin-bottom: 1rem;
    
}

.password-toggle {
    cursor: pointer;
    
            color: rgba(16, 185, 129, 0.6);
    
            transition: all 0.3s ease;
    
            z-index: 10;
    
            position: relative;
    
}

.password-strength {
    height: 4px;
    
            border-radius: 2px;
    
            transition: all 0.3s ease;
    
}

.strength-weak {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
}

.strength-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
}

.strength-strong {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
}

.gradient-button-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    
            box-shadow: 0 10px 25px rgba(107, 114, 128, 0.2);
    
}

.gradient-button-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    
            transform: translateY(-1px);
    
            box-shadow: 0 15px 35px rgba(107, 114, 128, 0.3);
    
}

.file-preview {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            border: 2px solid rgba(16, 185, 129, 0.1);
    
}

.breadcrumb-item {
    color: #6b7280;
    
            transition: color 0.3s ease;
    
}

.breadcrumb-item:hover {
    color: #10b981;
    
}

.breadcrumb-separator {
    color: #d1d5db;
    
            margin: 0 8px;
    
}

.sidebar-container {
    background: rgba(255, 255, 255, 0.8);
    
    backdrop-filter: blur(10px);
    
    border-right: 1px solid rgba(16, 185, 129, 0.1);
    
    display: flex;
    
    flex-direction: column;
    
    height: 100vh;
    
}

.menu-item {
    transition: all 0.2s ease;
    
}

.menu-item:hover {
    background: #f3f4f6;
     color: #374151;
    
}

.menu-item:hover i {
    color: #10b981;
    
}

.active-item i {
    color: white !important;
    
}

.active-item:hover {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%) !important;
     color: white !important;
    
}

.active-item:hover i {
    color: white !important;
    
}

.logo-container {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
    border-radius: 20px;
    
    padding: 12px;
    
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
    
}

.sidebar-nav {
    overflow-y: auto;
    
    flex: 1;
    
    min-height: 0;
    
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
    
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.05);
     border-radius: 3px;
    
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
     border-radius: 3px;
    
}

.sidebar-footer {
    flex-shrink: 0;
    
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    
    border-radius: 12px;
    
    background: rgba(16, 185, 129, 0.16);
    
    backdrop-filter: blur(10px);
    
    position: sticky;
    
    bottom: 0;
    
    z-index: 10;
    
    padding: 16px 24px;
    
}

.user-profile {
    background: rgba(236, 253, 245, 0.4);
    
    border: 1px solid rgba(16, 185, 129, 0.1);
    
    border-radius: 12px;
    
    transition: all 0.3s ease;
    
}

.user-profile:hover {
    background: rgba(236, 253, 245, 0.8);
    
    transform: translateY(-2px);
    
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    
}

.expand-button {
    background: linear-gradient(135deg,rgb(3, 39, 27) 0%, #14b8a6 100%);
    
            backdrop-filter: blur(10px);
    
            transition: all 0.3s ease;
    
            box-shadow: 0 6px 20px rgba(2, 34, 23, 0.4);
    
            width: 48px;
    
            height: 48px;
    
}

.expand-button:hover {
    background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
    
            transform: scale(1.2);
    
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    
}

.line-clamp-2 {
    display: -webkit-box;
    
            -webkit-line-clamp: 2;
    
            -webkit-box-orient: vertical;
    
            overflow: hidden;
    
}

.file-item {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            transition: all 0.3s ease;
    
}

.upload-zone {
    background: rgba(255, 255, 255, 0.5);
    
            backdrop-filter: blur(5px);
    
            border: 2px dashed rgba(16, 185, 129, 0.3);
    
            transition: all 0.3s ease;
    
}

.upload-zone:hover {
    border-color: rgba(16, 185, 129, 0.5);
    
            background: rgba(255, 255, 255, 0.7);
    
}

.upload-zone.dragover {
    border-color: rgba(16, 185, 129, 0.8);
    
            background: rgba(16, 185, 129, 0.1);
    
}

/* Loading Overlay */
        .loading-overlay {
    position: fixed;
    
            top: 0;
    
            left: 0;
    
            width: 100%;
    
            height: 100%;
    
            background: rgba(0, 0, 0, 0.7);
    
            backdrop-filter: blur(4px);
    
            z-index: 9999;
    
            display: none;
    
            align-items: center;
    
            justify-content: center;
    
}

.loading-content {
    background: rgba(255, 255, 255, 0.95);
    
            backdrop-filter: blur(10px);
    
            border-radius: 20px;
    
            padding: 2rem;
    
            text-align: center;
    
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    
}

.spinner {
    width: 50px;
    
            height: 50px;
    
            border: 4px solid rgba(16, 185, 129, 0.2);
    
            border-left: 4px solid #10b981;
    
            border-radius: 50%;
    
            animation: spin 1s linear infinite;
    
            margin: 0 auto 1rem;
    
}

@keyframes spin {
    0% { transform: rotate(0deg);
    
}

100% {
    transform: rotate(360deg);
    
}

}

        .progress-bar {
    width: 100%;
    
            height: 8px;
    
            background: rgba(16, 185, 129, 0.2);
    
            border-radius: 4px;
    
            overflow: hidden;
    
            margin-top: 1rem;
    
}

.progress-fill {
    height: 100%;
    
            background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            border-radius: 4px;
    
            width: 0%;
    
            transition: width 0.3s ease;
    
            animation: progress-animation 2s ease-in-out infinite;
    
}

@keyframes progress-animation {
    0% { width: 0%;
    
}

50% {
    width: 70%;
    
}

100% {
    width: 100%;
    
}

}

        /* Barra de rolagem verde */
        body::-webkit-scrollbar {
    width: 14px;
    
}

.video-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
            position: relative;
    
            overflow: hidden;
    
}

.video-card::before {
    content: '';
    
            position: absolute;
    
            top: 0;
    
            left: 0;
    
            right: 0;
    
            bottom: 0;
    
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    
            opacity: 0;
    
            transition: opacity 0.3s ease;
    
            z-index: 1;
    
}

.video-card:hover::before {
    opacity: 1;
    
}

.video-card:hover {
    transform: translateY(-4px);
    
            box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
    
}

.video-thumbnail {
    transition: all 0.3s ease;
    
}

.video-card:hover .video-thumbnail {
    transform: scale(1.02);
    
}

.play-button {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    
            transition: all 0.3s ease;
    
}

.play-button:hover {
    transform: scale(1.1);
    
            box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
    
}

.duration-badge {
    background: rgba(0, 0, 0, 0.8);
    
            backdrop-filter: blur(10px);
    
}

.watched-badge {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    
}

.modal-backdrop {
    background: rgba(255, 255, 255, 0.2);
    
            backdrop-filter: blur(15px);
    
}

.featured-video {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    
            border: 2px solid rgba(16, 185, 129, 0.1);
    
}

.video-grid-item {
    background: linear-gradient(135deg, #f9fafb 0%, #ecfdf5 100%);
    
            border: 1px solid rgba(16, 185, 129, 0.1);
    
}

.video-grid-item.active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    
            border-color: rgba(16, 185, 129, 0.3);
    
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    
}

.expand-button {
    background: rgba(255, 255, 255, 0.9);
    
            backdrop-filter: blur(10px);
    
            transition: all 0.3s ease;
    
}

.expand-button:hover {
    background: rgba(255, 255, 255, 1);
    
            transform: scale(1.1);
    
}

.video-player-container {
    transition: all 0.3s ease;
    
}


/* === DARK MODE BASE === */
.dark body {
    background-color: #0f172a;
    color: #f1f5f9;
}

.dark .gradient-bg {
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.dark .glass-card {
    background-color: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    border: 1px solid #334155;
}

/* === TIPOGRAFIA === */
.dark h1, .dark h2, .dark h3,
.dark p, .dark span, .dark label {
    color: #00000075;
}

.dark .text-gray-800,
.dark .text-gray-700,
.dark .text-gray-600 {
    color: #00000079 !important;
}

/* === SIDEBAR === */
.dark .sidebar-container {
    background-color: #1e293b;
    color: #e2e8f0;
}

.dark .menu-item {
    color: #cbd5e1;
}

.dark .menu-item:hover {
    background-color: #334155;
}

.dark .active-item {
    background: linear-gradient(to right, #059669, #14b8a6);
    color: #fff;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* === CAMPOS === */
.dark input:not([class*="bg-"]),
.dark textarea:not([class*="bg-"]),
.dark select:not([class*="bg-"]) {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #94a3b8 !important;
}

/* === BOTÕES (preservando temas coloridos) === */
.dark button,
.dark .btn,
.dark .btn-base {
    color: inherit;
    background-color: inherit;
    border-color: inherit;
}

.dark button.bg-white {
    background-color: #334155;
    color: #f8fafc;
}

/* NÃO ALTERA BOTÕES TEMÁTICOS */
.dark button[class*="bg-emerald"],
.dark button[class*="bg-green"],
.dark button[class*="bg-teal"],
.dark button[class*="bg-indigo"],
.dark .tag-green,
.dark .tag-blue {
    background-color: inherit !important;
    color: inherit !important;
}

/* === DROPDOWNS, AVISOS, ETIQUETAS === */
.dark .tag,
.dark .badge,
.dark .info-card,
.dark .card {
    background-color: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
}

/* === ALERTAS === */
.dark .success-alert {
    background-color: #047857;
    color: #e6fffa;
}

.dark .warning,
.dark .text-yellow-500,
.dark .text-orange-500 {
    color: #facc15;
}

.dark .error,
.dark .text-red-500 {
    color: #f87171;
}

/* === SCROLLBAR (opcional) === */
.dark ::-webkit-scrollbar {
    width: 8px;
}
.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}
.dark ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}


/* === TRATAMENTO PARA bg-emerald-* NO MODO ESCURO === */
.dark [class*="bg-emerald"] {
    filter: brightness(0.85) saturate(1.2);
}
