html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
/* Modern Create/Edit Form Styles */
.page-container {
    max-width: 650px;
}

.page-title {
    font-weight: 700;
    color: #2c3e50;
}

/* Input modern look */
.modern-input {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ced4da;
    transition: all .2s ease;
}

    .modern-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    }

/* Save button modern */
.btn-save {
    background: #0d6efd;
    color: white;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-save:hover {
        background: #0b5ed7;
    }

/* Cancel button modern */
.btn-cancel {
    background: #f1f1f1;
    color: #555;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid #d0d0d0;
}

    .btn-cancel:hover {
        background: #e0e0e0;
    }

/* Switch style */
.form-check-input {
    cursor: pointer;
}

.kpi-card {
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 150px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.kpi-value {
    font-size: 38px;
    font-weight: 700;
}

.kpi-label {
    font-size: 16px;
    margin-top: -6px;
}

.kpi-link {
    position: absolute;
    bottom: 12px;
    left: 20px;
    font-weight: 500;
    color: inherit !important;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-sub {
    font-size: 18px;
    font-weight: 600;
}

.stat-label {
    color: #6c757d;
    font-size: 14px;
}
/* Dashboard full-width layout */
.dashboard-container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}


.modern-input {
    border-radius: 12px;
    padding: 10px 14px;
}

.page-container {
    max-width: 1150px;
    margin: 0 auto;
}

.table-danger {
    background-color: #f8d7da !important;
}

.table-warning {
    background-color: #fff3cd !important;
}
/* SEARCH BAR FIX */
.input-group-lg .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .input-group-lg .btn i {
        font-size: 1.2rem;
    }



.pagination-wrapper {
    width: 100%;
    overflow-x: auto;
}

.pagination {
    white-space: normal;
}

    .pagination .page-item {
        margin: 2px;
    }
