:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
}

/* General Styles */
body {
    background-color: var(--light-color);
    font-family: 'Nunito', sans-serif;
    color: var(--dark-color);
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-height: 50px;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    padding: 0.25rem 0.75rem;
    margin-right: 1rem;
}

.nav-item {
    margin-left: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.25rem;
    position: relative;
}

.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-link i {
    margin-right: 0.3rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    margin-bottom: 1.5rem;
}

/* Stats Cards */
.stats-card {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    margin-bottom: 0;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stats-card .card-body {
    padding: 1rem;
}

.stats-card h6 {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.2rem !important;
}

.stats-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0 !important;
}

.stats-card .fa-2x {
    font-size: 1.4rem;
}

/* Backup card styles */
.backup-card {
    cursor: pointer;
}

.backup-card.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* Table Styles */
.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

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

.table td {
    vertical-align: middle;
}

/* Button Styles */
.btn {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn:focus {
    box-shadow: none;
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d3e2;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}