/* Estilos base para o aplicativo Hub */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --we-digital-color: #F18622;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.app-theme-white {
    background-color: #f8f9fa;
}

.body-tabs-shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* App Header */
.app-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
    padding: 0 1rem;
    background-color: #fff;
}

.app-header__logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.header__pane {
    display: flex;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 16px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #343a40;
    border-radius: 2px;
    transition: transform 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    bottom: -6px;
}

/* App Sidebar */
.app-sidebar {
    width: 280px;
    position: fixed;
    left: 0;
    top: 60px;
    height: calc(100vh - 60px);
    z-index: 10;
    background-color: #343a40;
    box-shadow: 7px 0 60px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.scrollbar-sidebar {
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.app-sidebar__inner {
    padding: 1rem;
}

/* Vertical Nav Menu */
.vertical-nav-menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.vertical-nav-menu .nav-item {
    margin-bottom: 0.5rem;
}

.vertical-nav-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.vertical-nav-menu .menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.vertical-nav-menu .menu-item.mm-active {
    background: var(--we-digital-color);
    color: #fff;
}

.vertical-nav-menu .menu-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.vertical-nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 2.2rem;
}

.vertical-nav-menu ul li {
    margin-bottom: 0.25rem;
}

/* App Main */
.app-main {
    display: flex;
    flex: 1;
    margin-top: 60px;
}

.app-main__outer {
    margin-left: 280px;
    flex: 1;
    padding: 1rem;
    background-color: #f1f4f6;
    min-height: calc(100vh - 60px);
    transition: all 0.2s;
}

.app-main__inner {
    padding: 1rem 0;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-md-12, .col-lg-8, .col-lg-6, .col-sm-12, .col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 576px) {
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Card Styles */
.card {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    font-weight: 500;
}

.card-body {
    padding: 1.25rem;
}

/* Utility Classes */
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.d-flex {
    display: flex !important;
}

.d-block {
    display: block !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.h-100 {
    height: 100%;
}

.text-muted {
    color: #6c757d !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.ms-auto {
    margin-left: auto !important;
}

/* Element Styles */
img {
    vertical-align: middle;
    border-style: none;
}

a {
    text-decoration: none;
    background-color: transparent;
}

h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Widget Content */
.widget-content {
    padding: 1rem;
    border-radius: 5px;
}

.widget-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-content-left, .widget-content-right {
    display: flex;
    flex-direction: column;
}

.widget-heading {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.widget-subheading {
    opacity: 0.8;
    font-size: 0.875rem;
}

.widget-numbers {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Buttons */
.btn-focus {
    background-color: var(--we-digital-color);
    border-color: var(--we-digital-color);
    color: #fff;
}

.btn-focus:hover {
    background-color: #e07b1d;
    border-color: #e07b1d;
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-290px);
    }
    
    .app-main__outer {
        margin-left: 0;
    }
    
    .header-mobile-open .app-sidebar {
        transform: translateX(0);
    }
    
    .header-mobile-open .app-main__outer {
        margin-left: 0;
    }
}

/* DataTables */
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--we-digital-color);
    color: white !important;
    border-color: var(--we-digital-color);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e07b1d;
    color: white !important;
    border-color: #e07b1d;
}

/* Footer */
.app-wrapper-footer {
    margin-top: auto;
}

.app-footer {
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.app-footer__inner {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Custom Classes */
.resetPassword {
    margin-bottom: 1rem;
} 