:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --success-color: #2ecc71;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* Card styling */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Button styling */
.btn {
    border-radius: 5px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: #2980b9;
        border-color: #2980b9;
    }

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

    .btn-success:hover {
        background-color: #27ae60;
        border-color: #27ae60;
    }

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

    .btn-danger:hover {
        background-color: #c0392b;
        border-color: #c0392b;
    }

/* Table styling */
.table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .table thead {
        background-color: #f8f9fa;
    }

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

/* Form styling */
.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    }

/* Alert styling */
.alert {
    border-radius: 8px;
    border: none;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
    border-radius: 5px;
}

/* Login form */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

/* Dashboard cards */
.dashboard-card {
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
    }

.dashboard-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.dashboard-card-value {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Status badges */
.status-active {
    background-color: var(--success-color);
    color: white;
}

.status-inactive {
    background-color: var(--danger-color);
    color: white;
}

.status-pending {
    background-color: var(--warning-color);
    color: white;
}

.status-completed {
    background-color: var(--info-color);
    color: white;
}
