:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.auth-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-header {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.auth-body {
    padding: 30px;
    background-color: white;
}

.navbar-brand {
    font-weight: 700;
}

.sidebar {
    background-color: var(--primary);
    color: white;
    min-height: calc(100vh - 56px);
    padding: 0;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--secondary);
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0 !important;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.stat-card.vehicles {
    border-top: 4px solid var(--secondary);
}

.stat-card.documents {
    border-top: 4px solid var(--success);
}

.stat-card.notifications {
    border-top: 4px solid var(--warning);
}

.stat-card.payments {
    border-top: 4px solid var(--accent);
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table th {
    background-color: var(--light);
    font-weight: 600;
}

.document-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-valid {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.status-expiring {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.status-expired {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent);
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: rgba(52, 152, 219, 0.05);
    font-weight: 600;
}

.dashboard-section {
    margin-bottom: 30px;
}

.section-title {
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--dark);
}

.form-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.action-buttons .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

.user-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light);
}

.tab-content {
    padding: 20px 0;
}

.nav-tabs .nav-link.active {
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 3px solid var(--secondary);
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}