/* Estilos globais */
body {
    background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
    background-color: #343a40;
    color: white;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.sidebar .nav-link:hover, 
.sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-header {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Conteúdo principal */
.main-content {
    margin-left: 0;
    padding: 20px;
    transition: margin-left 0.3s;
}

@media (min-width: 768px) {
    .sidebar {
        width: 250px;
    }
    .main-content {
        margin-left: 250px;
    }
    .sidebar-toggle {
        display: none;
    }
}

/* Cabeçalho de conteúdo */
.content-header {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

/* Cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
    border: 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Estilos para página de login */
.login-container {
    max-width: 400px;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.login-header {
    background-color: #343a40;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-weight: 300;
}

.login-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.login-body {
    padding: 30px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 5px;
}

.btn-login {
    background-color: #343a40;
    border-color: #343a40;
    padding: 12px;
    font-weight: 500;
}

.btn-login:hover {
    background-color: #23272b;
    border-color: #1d2124;
}

.form-check-input:checked {
    background-color: #343a40;
    border-color: #343a40;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 10px;
    color: #6c757d;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: none;
}

.facebook {
    background-color: #3b5998;
}

.google {
    background-color: #dd4b39;
}

.twitter {
    background-color: #1da1f2;
}

.login-footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.login-footer a {
    color: #343a40;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* Altura fixa para página de login */
.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}