/* aneti-style.css */

/* Importando Bootstrap e Font Awesome */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
}

.aneti-sidebar {
    background-color: #2c3e50;
    color: #ecf0f1;
    min-height: 100%;
    padding-top: 20px;
}

.aneti-logo-container {
    display: flex;
    align-items: center;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.aneti-logo {
    width: 200px;
}

.aneti-brand-text {
    font-weight: 700;
    margin-bottom: 0;
    color: #ecf0f1;
}

.aneti-brand-subtitle {
    font-size: 0.8em;
    color: #bdc3c7;
    margin-bottom: 0;
}

.aneti-sidebar .nav-link {
    color: #ecf0f1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.aneti-sidebar .nav-link:hover,
.aneti-sidebar .nav-link.active {
    background-color: #34495e;
    border-radius: 5px;
    color: #ecf0f1;
}

.aneti-sidebar .nav-link i {
    margin-right: 10px;
}

.aneti-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.aneti-heading {
    color: #34495e;
    font-weight: 600;
}

.aneti-text {
    color: #7f8c8d;
}

.aneti-stat-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.aneti-stat-card:hover {
    transform: translateY(-5px);
}

.aneti-stat-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.aneti-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.aneti-stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
}

.aneti-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.aneti-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fcfcfc;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.aneti-card-body {
    padding: 20px;
}

.aneti-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.aneti-table th,
.aneti-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.aneti-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.aneti-table tbody tr:hover {
    background-color: #f1f1f1;
}

.aneti-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.aneti-btn-primary {
    background-color: #3498db;
    color: #ffffff;
}

.aneti-btn-primary:hover {
    background-color: #2980b9;
    color: #ffffff;
}

.aneti-text-secondary {
    color: #95a5a6;
}

.aneti-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

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

/* Quick Actions */
.quick-actions .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-actions .btn i {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.quick-actions .btn-outline-primary {
    color: #3498db;
    border-color: #3498db;
}
.quick-actions .btn-outline-primary:hover {
    background-color: #3498db;
    color: #fff;
}

.quick-actions .btn-outline-success {
    color: #2ecc71;
    border-color: #2ecc71;
}
.quick-actions .btn-outline-success:hover {
    background-color: #2ecc71;
    color: #fff;
}

.quick-actions .btn-outline-warning {
    color: #f39c12;
    border-color: #f39c12;
}
.quick-actions .btn-outline-warning:hover {
    background-color: #f39c12;
    color: #fff;
}

.quick-actions .btn-outline-info {
    color: #1abc9c;
    border-color: #1abc9c;
}
.quick-actions .btn-outline-info:hover {
    background-color: #1abc9c;
    color: #fff;
}

/* Login Page Styles */
.login-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: auto;
    margin-top: 50px;
}

.login-header {
    background: #012d6a;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    z-index: 0;
}

.login-header h3, .login-header p, .login-header i {
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 2rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
    transition: all 0.2s ease-in-out;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #012d6a;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 246, 0.25);
}

.btn-login {
    background: linear-gradient(45deg, #012d6a, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(52, 152, 246, 0.3);
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 15px;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.text-muted {
    color: #7f8c8d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .aneti-sidebar {
        position: fixed;
        z-index: 1000;
        width: 250px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .aneti-sidebar.show {
        transform: translateX(0);
    }
}

/* Card styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Button styles */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Table styles */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #555;
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}


