/* =========================================================
   SIKMART - GLOBAL SITE STYLES
   COLORFUL & COMPACT DEFAULT DESIGN
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


/* =========================================================
   BODY
   ========================================================= */

body {
    margin-bottom: 60px;
    background: #f8fafc;
    color: #101010;
}


/* =========================================================
   GLOBAL FOCUS
   ========================================================= */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.22rem rgba(37, 99, 235, .30);
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: #2563eb;
    text-decoration: none;
}

    a:hover {
        color: #dc2626;
    }


    /* =========================================================
   NAVIGATION
   ========================================================= */

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-word;
    }


/* =========================================================
   GLOBAL BUTTONS
   ========================================================= */

.btn {
    border-radius: 7px;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 10px;
    transition: all .15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }


/* Primary */

.btn-primary {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

    .btn-primary:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
    }


/* Success */

.btn-success {
    background: #16a34a;
    border-color: #16a34a;
}

    .btn-success:hover {
        background: #15803d;
        border-color: #15803d;
    }


/* Danger */

.btn-danger {
    background: #dc2626;
    border-color: #dc2626;
}

    .btn-danger:hover {
        background: #b91c1c;
        border-color: #b91c1c;
    }


/* Warning */

.btn-warning {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

    .btn-warning:hover {
        background: #d97706;
        border-color: #d97706;
        color: #ffffff;
    }


/* Info */

.btn-info {
    background: #0891b2;
    border-color: #0891b2;
    color: #ffffff;
}

    .btn-info:hover {
        background: #0e7490;
        border-color: #0e7490;
        color: #ffffff;
    }


/* Secondary */

.btn-secondary {
    background: #64748b;
    border-color: #64748b;
}

    .btn-secondary:hover {
        background: #475569;
        border-color: #475569;
    }


/* Outline Primary */

.btn-outline-primary {
    color: #2563eb;
    border-color: #2563eb;
}

    .btn-outline-primary:hover {
        background: #2563eb;
        border-color: #2563eb;
    }


/* =========================================================
   NAV PILLS
   ========================================================= */

.nav-pills .nav-link {
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        color: #ffffff;
        background: #2563eb;
        border-color: #2563eb;
    }


/* =========================================================
   CARDS
   ========================================================= */

.card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 11px 14px;
    font-weight: 700;
    color: #1e293b;
}

.card-body {
    padding: 14px;
}

.card-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-control,
.form-select {
    border-radius: 7px;
    border: 1px solid #cbd5e1;
    padding: 8px 10px;
    font-size: 13px;
    color: #334155;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #3b82f6;
    }

.form-label {
    font-size: 12px;
    font-weight: 650;
    color: #334155;
    margin-bottom: 5px;
}

.form-text {
    font-size: 12px;
}

textarea.form-control {
    min-height: 90px;
}


/* =========================================================
   FORM FLOATING
   ========================================================= */

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* =========================================================
   INPUT GROUPS
   ========================================================= */

.input-group-text {
    background: #f1f5f9;
    border-color: #cbd5e1;
    font-size: 12px;
}


/* =========================================================
   TABLES
   ========================================================= */

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    border-color: #79bbfc;
}

    .table thead th {
        background: #f2f9ff;
        color: #3d98f1;
        font-size: 14px;
        font-weight: 600;
        text-transform: capitalize;
        letter-spacing: .5px;
        padding: 10px 12px;
        border: 2px solid #79bbfc;
        white-space: nowrap;
    }

    .table tbody td {
        padding: 10px 12px;
        vertical-align: middle;
        color: black;
    }

    .table tbody tr {
        transition: background .15s ease;
    }

        /* Odd rows - White */
        .table tbody tr:nth-child(odd) {
            background-color: #faf5f6 !important;
        }

        /* Even rows - Light Grey / Blue */
        .table tbody tr:nth-child(even) {
            background-color: #f3f9ff !important;
        }

        /* Hover */
        .table tbody tr:hover {
            background: #fcf9bd !important;
        }

/* =========================================================
   TABLE RESPONSIVE
   ========================================================= */

.table-responsive {
    border-radius: 5px;
    background: #79bbfc;
}


/* =========================================================
   ALERTS
   ========================================================= */

.alert {
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 13px;
    border-width: 1px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge {
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   GLOBAL STATUS COLORS
   ========================================================= */

.text-success {
    color: #16a34a !important;
}

.text-danger {
    color: #dc2626 !important;
}

.text-warning {
    color: #d97706 !important;
}

.text-primary {
    color: #2563eb !important;
}

.text-info {
    color: #0891b2 !important;
}


/* =========================================================
   BACKGROUNDS
   ========================================================= */

.bg-primary {
    background-color: #2563eb !important;
}

.bg-success {
    background-color: #16a34a !important;
}

.bg-danger {
    background-color: #dc2626 !important;
}

.bg-warning {
    background-color: #f59e0b !important;
}

.bg-info {
    background-color: #0891b2 !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    gap: 4px;
}

.page-link {
    border-radius: 6px !important;
    border: 1px solid #d5ddee;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

    .page-link:hover {
        background: #eff6ff;
        border-color: #3b82f6;
        color: #1d4ed8;
    }

.page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
}


/* =========================================================
   MODALS
   ========================================================= */

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, .20);
}

.modal-header {
    padding: 12px 15px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 10px 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 6px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .12);
}

.dropdown-item {
    border-radius: 6px;
    font-size: 13px;
    padding: 7px 10px;
}

    .dropdown-item:hover {
        background: #eff6ff;
        color: #2563eb;
    }


/* =========================================================
   BORDERS
   ========================================================= */

.border-top {
    border-top: 1px solid #e2e8f0 !important;
}

.border-bottom {
    border-bottom: 1px solid #e2e8f0 !important;
}


/* =========================================================
   SHADOW
   ========================================================= */

.box-shadow {
    box-shadow: 0 3px 10px rgba(15, 23, 42, .07) !important;
}


/* =========================================================
   POLICY
   ========================================================= */

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


/* =========================================================
   SIKMART LOGO
   ========================================================= */

.sikmart-logo {
    display: flex;
    align-items: center;
    padding: 5px 70px;
}

.sikmart-logo-img {
    height: 60px;
    width: auto;
    display: block;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background: #f2f9ff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   GENERIC PAGE HEADINGS
   ========================================================= */

.container > h1,
.container > h2,
.container > h3,
.container > h4 {
    color: #79bbfc;
    font-weight: 700;
}


/* =========================================================
   GENERIC LIST GROUP
   ========================================================= */

.list-group {
    border-radius: 9px;
    overflow: hidden;
}

.list-group-item {
    border-color: #e2e8f0;
    font-size: 13px;
    padding: 10px 12px;
}

    .list-group-item:hover {
        background: #f8fafc;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    body {
        margin-bottom: 55px;
    }

    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .card-header {
        padding: 10px;
    }

    .card-body {
        padding: 11px;
    }

    .table {
        font-size: 12px;
    }

        .table thead th {
            padding: 8px 9px;
            font-size: 12px;
        }

        .table tbody td {
            padding: 8px 9px;
        }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 10px;
    }

    .sikmart-logo-img {
        height: 40px;
    }
}
/* =========================================
   SIKMART LOGOUT NAVIGATION BUTTON
   ========================================= */

.sikmart-logout-link {
    border: 0 !important;
    background: transparent !important;
    font: inherit;
    cursor: pointer;
    /* Match Bootstrap nav-link */
    padding: 0.5rem 1rem !important;
    line-height: 1.5;
    text-align: left;
    color: rgba(0, 0, 0, 0.65) !important;
    text-decoration: none;
}

    .sikmart-logout-link:hover,
    .sikmart-logout-link:focus {
        color: rgba(0, 0, 0, 0.9) !important;
        text-decoration: none;
    }

    .sikmart-logout-link:focus {
        box-shadow: none !important;
        outline: none;
    }