/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Variáveis CSS */
:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --accent-color: #007bff;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(255, 255, 255, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

/* Header */
.admin-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Brand styling with high specificity */
.admin-header .header-content .header-left .admin-brand .brand {
    display: block !important;
}

.admin-header .header-content .header-left .admin-brand .brand .brand__text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
    align-items: flex-start !important;
}

.admin-header .header-content .header-left .admin-brand .brand .brand__text .brand__primary {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

.admin-header .header-content .header-left .admin-brand .brand .brand__text .brand__secondary {
    font-size: 0.75rem !important;
    font-weight: 300 !important;
    color: var(--secondary-color) !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    margin-top: -2px !important;
    display: block !important;
    width: 100% !important;
}

/* Fallback with original selectors */
.admin-brand .brand {
    display: block;
}

.admin-brand .brand__text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1;
}

.admin-brand .brand__primary {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block !important;
    width: 100%;
}

.admin-brand .brand__secondary {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--secondary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: -2px;
    display: block !important;
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin: 0 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Notificações */
.header-notifications {
    position: relative;
}

.notification-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.notification-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--hover-color);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.user-menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--hover-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.user-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.avatar-text {
    font-weight: 700;
    font-size: 0.9rem;
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #2ed573;
    border: 2px solid #000;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 400;
    line-height: 1.2;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.user-menu-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.user-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header do Dropdown */
.dropdown-header {
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.dropdown-details {
    flex: 1;
}

.dropdown-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dropdown-email {
    font-size: 0.8rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Seções do Dropdown */
.dropdown-section {
    padding: 0.5rem 0;
}

.dropdown-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem 0.25rem;
    opacity: 0.7;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 0;
    margin: 0 0.5rem;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-item:hover .dropdown-item-icon {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dropdown-item-title {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
}

.dropdown-item-desc {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.2;
}

.dropdown-item.logout {
    color: #ff6b6b;
    margin-top: 0.5rem;
}

.dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.dropdown-item.logout .dropdown-item-icon {
    background: rgba(255, 107, 107, 0.1);
}

.dropdown-item.logout:hover .dropdown-item-icon {
    background: rgba(255, 107, 107, 0.2);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
    opacity: 0.5;
}

/* Main Content */
.admin-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    padding: 2rem;
}

.admin-main.login-page {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Login Form */
.login-container {
    max-width: 400px;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    z-index: -1;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon svg {
    color: #000;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-subtitle {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Form Components */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: var(--secondary-color);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.form-check-label {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Dashboard */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-subtitle {
    color: var(--secondary-color);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-title {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.875rem;
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

/* Sistema de Alertas e Notificações */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    border-left: 4px solid;
    margin-bottom: 1rem;
    backdrop-filter: blur(20px);
    animation: slideInAlert 0.3s ease;
    border: 1px solid;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.05));
    border-left-color: var(--success-color);
    border-color: rgba(40, 167, 69, 0.3);
    color: #d4edda;
}

.alert-error,
.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.05));
    border-left-color: var(--danger-color);
    border-color: rgba(220, 53, 69, 0.3);
    color: #f8d7da;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    border-left-color: var(--warning-color);
    border-color: rgba(255, 193, 7, 0.3);
    color: #fff3cd;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.15), rgba(23, 162, 184, 0.05));
    border-left-color: var(--info-color);
    border-color: rgba(23, 162, 184, 0.3);
    color: #d1ecf1;
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
}

.alert-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition);
    flex-shrink: 0;
}

.alert-close:hover {
    opacity: 1;
}

/* Notificações Toast (flutuantes) */
.admin-notification {
    position: fixed;
    top: 90px;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    max-width: 400px;
    z-index: 1002;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.admin-notification.success {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(0, 0, 0, 0.95));
}

.admin-notification.error {
    border-color: var(--danger-color);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(0, 0, 0, 0.95));
}

.admin-notification.warning {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(0, 0, 0, 0.95));
}

.admin-notification.info {
    border-color: var(--info-color);
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.2), rgba(0, 0, 0, 0.95));
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInAlert {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Background Grid */
.background-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-link {
        margin: 0 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .nav-link {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }
    
    .main-nav {
        gap: 0.5rem;
    }
    
    .admin-brand .brand__primary {
        font-size: 1.25rem;
    }
    
    .admin-brand .brand__secondary {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .header-left {
        gap: 1rem;
    }
    
    .main-nav {
        display: none;
    }

    .header-right {
        gap: 0.5rem;
    }

    .user-menu-toggle {
        min-width: 150px;
        padding: 0.5rem 0.75rem;
    }

    .user-details {
        display: none;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .notification-btn {
        width: 40px;
        height: 40px;
    }

    .user-menu-dropdown {
        min-width: 260px;
        right: -10px;
    }

    .dropdown-header {
        padding: 1rem;
    }

    .dropdown-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .admin-main {
        padding: 1rem;
    }
    
    .login-container {
        padding: 2rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Sistema de notificações toast sofisticado */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 420px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 20px 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transform: translateX(450px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--toast-color, #007bff), rgba(255, 255, 255, 0.2));
    border-radius: 16px 16px 0 0;
}

.toast.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.toast.hide {
    transform: translateX(450px) scale(0.9);
    opacity: 0;
}

.toast-success { 
    --toast-color: #28a745;
    border-left: 3px solid #28a745;
}
.toast-error { 
    --toast-color: #dc3545;
    border-left: 3px solid #dc3545;
}
.toast-warning { 
    --toast-color: #ffc107;
    border-left: 3px solid #ffc107;
}
.toast-info { 
    --toast-color: #17a2b8;
    border-left: 3px solid #17a2b8;
}

.toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--toast-color), rgba(255, 255, 255, 0.1));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.toast-icon svg {
    width: 18px;
    height: 18px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.toast-content {
    flex-grow: 1;
    color: var(--text-color);
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toast-message {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.toast-close svg {
    width: 16px;
    height: 16px;
}

/* Animação de progresso para auto-dismiss */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--toast-color);
    border-radius: 0 0 16px 16px;
    transition: width linear;
    opacity: 0.7;
}

/* Responsivo para toasts */
@media (max-width: 480px) {
    .toast-container {
        left: 16px;
        right: 16px;
        max-width: none;
    }
    
    .toast {
        transform: translateY(-100px) scale(0.9);
    }
    
    .toast.show {
        transform: translateY(0) scale(1);
    }
    
    .toast.hide {
        transform: translateY(-100px) scale(0.9);
    }
}

/* Sistema de notificações para a página de login */
.login-notifications-container {
    margin-bottom: 1.5rem;
    min-height: 0;
    transition: all 0.3s ease;
}

/* Desabilitar tooltips padrão do navegador e alertas */
[title]:hover::after,
[title]:hover::before,
input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
}

/* Desabilitar validação visual HTML5 padrão */
input:invalid {
    box-shadow: none !important;
    border-color: inherit !important;
}

input:valid {
    box-shadow: none !important;
    border-color: inherit !important;
}

.login-notification {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    animation: slideInLogin 0.5s ease forwards;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--notification-color);
    border-radius: 16px 16px 0 0;
}

.login-notification.success {
    --notification-color: #10b981;
    border-left: 3px solid #10b981;
}

.login-notification.error {
    --notification-color: #ef4444;
    border-left: 3px solid #ef4444;
}

.login-notification.warning {
    --notification-color: #f59e0b;
    border-left: 3px solid #f59e0b;
}

.login-notification.info {
    --notification-color: #3b82f6;
    border-left: 3px solid #3b82f6;
}

.login-notification-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--notification-color), rgba(255, 255, 255, 0.1));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-notification-icon svg {
    width: 16px;
    height: 16px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.login-notification-content {
    flex-grow: 1;
    color: var(--text-color);
}

.login-notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-color);
}

.login-notification-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
    color: var(--secondary-color);
}

.login-notification-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.login-notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.05);
}

.login-notification-close svg {
    width: 14px;
    height: 14px;
}

/* Animações específicas para login */
@keyframes slideInLogin {
    0% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutLogin {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
        max-height: 100px;
    }
    100% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.login-notification.removing {
    animation: slideOutLogin 0.3s ease forwards;
}

/* Efeito de shake para inputs com erro */
.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Indicador de carregamento no botão */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Estilos para Modal de Notificações */
.notification-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.notification-modal-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.notification-modal-body {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.notification-desc {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.notification-time {
    color: #999999;
    font-size: 0.8rem;
}

.notification-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.btn-mark-all-read {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-mark-all-read:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
} 