@import url('https://fonts.googleapis.com/css?family=Poppins:200,400,500,600,700');


:root {
    /* Colors */
    --col-bg: rgb(250, 250, 250);
    --col-bg-light: rgb(255, 255, 255);
    --col-bg-dark: rgb(230, 230, 230);
    --col-white: rgb(255, 255, 255);
    --col-brand: #c09f72;
    --col-danger: rgb(200, 40, 40);
    --col-warning: rgb(255, 208, 0);
    --col-border: rgb(220, 220, 220);
    --col-muted: rgb(120, 120, 120);
    --col-muted-light: rgb(180, 180, 180);

    /* Font sizes */
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;

    /* Margin & padding */
    --space-xs: 0.125rem; /* 2px */
    --space-sm: 0.25rem; /* 4px */
    --space-md: 0.5rem; /* 8px */
    --space-lg: 0.75rem; /* 12px */
    --space-xl: 1rem; /* 16px */
    --space-2xl: 2rem; /* 32px */

    /* Shadows & outlines */
    --shadow-sm: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --shadow-lg: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    --outline: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-size: 16px;
    background-color: var(--col-bg);
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-base);
}

h5 {
    font-size: var(--text-sm);
}

h6 {
    font-size: var(--text-xs);
}

.text-muted {
    color: var(--col-muted);
}

.text-brand {
    color: var(--col-brand);
}

.font-bold {
    font-weight: bold;
}

.container {
    margin: 0 auto;
    padding: 0.5em;
    width: min(70rem, 100%);
}

.container-fluid {
    padding: 0.5em;
}

.content {
    margin-top: var(--space-2xl);
}

.heading {
    margin-top: var(--space-2xl);
}

@media (max-width: 900px) {
    .content {
        margin-top: var(--space-lg);
    }
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.page-heading,
.space-apart {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.searchbar {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.searchbar input {
    width: 100%;
    font-size: 1rem;
    font-family: 'Sen';
    /* padding: 0.8em 0.6em !important; */
    color: rgb(60, 60, 60);
    background: #fff !important;
    border: none !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-out;
}

.alert {
    margin-bottom: 1em;
    padding: 0.8em;
}

.alert-success {
    color: #fff;
    background: var(--col-brand);
}

.inline-block {
    display: inline-block;
}

.btn {
    font-family: inherit;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: none;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    transition: all 0.2s ease-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-sm {
    font-size: 0.8rem;
}

.btn-tiny {
    font-size: 0.6rem;
    padding: 0.3em 0.6em;
}

.btn-muted {
    color: rgb(120, 120, 120) !important;
    background-color: rgb(230, 230, 230);
}

.btn-muted:hover {
    background-color: rgb(220, 220, 220);
}

.btn-green {
    color: var(--col-brand) !important;
    border: 1px solid var(--col-brand);
}

.btn-green-solid {
    background-color: var(--col-brand) !important;
    color: #fff !important;
}

.btn-red {
    color: var(--col-danger);
    border: 1px solid var(--col-danger);
}

.btn-yellow {
    color: var(--col-warning);
    border: 1px solid var(--col-warning);
}

.btn-yellow:hover {
    color: #fff !important;
    background: var(--col-warning);
}

.btn-red:hover {
    color: #fff !important;
    background: var(--col-danger);
}

.btn-green:hover {
    color: #fff !important;
    background: var(--col-brand);
}

.btn-green.active {
    color: #fff !important;
    background: var(--col-brand);
}

.no-margin {
    margin: 0;
}

form input[type='search'],
form input[type='text'],
form input[type='password'],
form input[type='number'],
form input[type='email'],
form textarea {
    padding: 0.5em;
    outline: none;
    border: 1px solid rgba(140, 140, 140, 0.5);
    border-radius: 4px;
    background: rgb(240, 240, 240);
}

form input[type='search']:focus,
form input[type='text']:focus,
form input[type='password']:focus,
form input[type='number']:focus,
form input[type='email']:focus,
form textarea:focus {
    border: 1px solid var(--col-brand);
}

form input[type='submit'] {
    margin-top: 1em;
}

form input[type='text' i]:focus {
    border: 1px solid var(--col-brand);
}

.update-form label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.badge-primary {
    color: #008d2f;
    background: #00ff55a4;
}

.badge-worktank {
    color: #59008d;
    background: #a200ff88;
}

.badge-auxiliary {
    color: #969600;
    background: #ffff239a;
}

.table-container {
    overflow-x: auto;
    width: fit-content;
    max-width: 100%;
}

.table-container.pretty {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.fluid {
    width: 100%;
}

.search {
    font-size: 1rem;
    font-family: 'Sen';
    padding: 0.8em 0.6em !important;
    color: rgb(60, 60, 60);
    background: #fff !important;
    border: none !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-out;
}

.search:focus {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.google-btn {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgb(130, 130, 130);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-right: 1rem;
    padding-left: 0.2rem;
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    outline: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pills {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.pills :is(button, a) {
    font-size: var(--text-xs);
    background: none;
    border: thin solid var(--col-brand);
    color: var(--col-brand);
    border-radius: 18px;
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
}

.pills :is(button, a).active {
    background-color: var(--col-brand);
    color: #fff;
}

i.flipped {
    transform: rotateZ(180deg);
}

.drag-scroll {
    cursor: grab;
    overflow-x: auto;
}

.mt-1 { margin-top: 0.4em; }
.mt-2 { margin-top: 0.6em; }
.mt-3 { margin-top: 0.8em; }
.mt-4 { margin-top: 1em; }
.mt-5 { margin-top: 1.2em; }

.mb-1 { margin-bottom: 0.4em; }
.mb-2 { margin-bottom: 0.6em; }
.mb-3 { margin-bottom: 0.8em; }
.mb-4 { margin-bottom: 1em; }
.mb-5 { margin-bottom: 1.2em; }

.flex-inline {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    body, html {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .container, .container-fluid {
        padding: 0.5rem;
    }

    .btn {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .no-mobile {
        display: none !important;
    }
}