* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* metropolis-latin-400-normal */
@font-face {
    font-family: "Metropolis";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/metropolis@latest/latin-400-normal.woff2)
            format("woff2"),
        url(https://cdn.jsdelivr.net/fontsource/fonts/metropolis@latest/latin-400-normal.woff)
            format("woff");
}

/* alpine: for the use of cloak */
[x-cloak] {
    display: none !important;
}

.mybigplate {
    font-size: 2.5rem;
    font-weight: 500;
}

.mbp_logo {
    width: 50px;
    height: 50px;
}

.form-container {
    background-color: #f8f9fa;
}

/* index */
.logo_container {
    width: 200px;
    height: 200px;
}

.logo_mbp {
    width: 100%;
}

/* placehoder decoration */
::placeholder {
    font-size: 16px;
}

/* input fields */
.input-field {
    outline: none;
    border: 2px solid #cccccc;
}

.input-field:focus {
    border: 2px solid #ffc451;
}

/*
   * button/link color pallet
   * use .btn class form bootstrap
   * then overide with the following
  */

/* removing margin from base .btn class*/
.btn-primary > a {
    color: #ffffff;
}

.btn-primary:hover > a {
    color: #ffc451;
}
.btn__success > a {
    color: #ffffff;
}

.btn__success:hover > a {
    color: #5cb85c;
}
.btn {
    color: #ffffff;
    margin-bottom: 0px;
    background-color: #ffc451;
}

.btn:hover {
    background-color: #ffffff;
    outline: 2px solid #ffc451;
}

/* primary */
.btn__primary {
    background-color: #00489a;
    color: #ffffff;
    text-transform: uppercase;
}

.btn__primary:hover {
    color: #ffc451 !important;
    background-color: #ffffff;
    outline: 2px solid #ffc451;
}

/* secondary */
.btn__secondary {
    background-color: #545458;
    color: #ffffff;
    text-transform: uppercase;
}

.btn__secondary:hover {
    color: #545458;
    background-color: #ffffff;
    outline: 2px solid #545458;
}

/* success */
.btn__success {
    background-color: #5cb85c;
    color: #ffffff;
    text-transform: uppercase;
}

.btn__success:hover {
    color: #5cb85c;
    background-color: #ffffff;
    outline: 2px solid #5cb85c;
}

/* danger */
.btn__danger {
    background-color: #ca0b00;
    color: #ffffff;
}

.btn__danger:hover {
    color: #ca0b00;
    background-color: #ffffff;
    outline: 2px solid #ca0b00;
}

/* warn */
.btn__warn {
    background-color: #ffc451;
    color: #ffffff;
    text-transform: uppercase;
}

.btn__warn:hover {
    color: #ffc451;
    background-color: #ffffff;
    outline: 2px solid #ffc451;
}

/* info */
.btn__info {
    background-color: #83c8ef;
    color: #ffffff;
    text-transform: uppercase;
}

.btn__info:hover {
    color: #83c8ef;
    background-color: #ffffff;
    outline: 2px solid #83c8ef;
}

/* toggle button */
.toggle-container {
    background-color: white;
    padding-top: 4px;
    padding-bottom: 4px;
}

.fr__link,
.fr__link:link {
    color: #626260;
    text-decoration: none;
}

.fr__link:hover {
    color: #ffc451;
}

.fr__link:active {
    color: #ffc451;
    text-decoration: underline;
    font-weight: 600;
}

.fr__link:visited {
    color: #ffc451;
}

/* index style */
.img_link__container {
    background-color: white;
    padding: 2rem;
    border: 0.8px solid #d3d3d3;
    border-radius: 10px;
}

.img_link__container:hover {
    box-shadow: 0.4rem 0.5rem 0.375rem rgba(12, 0, 46, 0.05);
    border: none;
    transition-duration: 500ms;
    transition-property: box-shadow;
}

.card_link:link {
    text-decoration: none;
    cursor: pointer;
    color: #ffc451;
}

.card_link:hover {
    text-decoration: none;
    cursor: pointer;
    color: #ffc451;
}

.card_link:visited {
    text-decoration: none;
    cursor: pointer;
    color: #000000;
}

.card_head {
    margin-top: 20px;
    font-weight: 500;
}

.card_head:hover {
    cursor: pointer;
    color: #ffc451;
}

.brand:link {
    position: relative;
    font-weight: 600;
    /* color: #284676; */
    color: #ffc451;
    text-decoration: none;
}

.brand:visited {
    position: relative;
    font-weight: 600;
    /* color: #284676; */
    color: #ffc451;
    text-decoration: none;
}

.brand:hover {
    bottom: 2px;
}

.brand:active {
    bottom: 0px;
    font-weight: 600;
    /* color: #284676; */
    color: white;
    text-decoration: none;
}

/* toggle button */
.toggle_base {
    display: inline-flex;
    background-color: lightgray;
    width: 60px;
    padding: 4px;
    border: none;
    border-radius: 20px;
    transition: background-color 250ms ease-in;
}

.toggle_base_active {
    background-color: #00b542;
    /*#ffc451*/
    transition: background-color 250ms ease-in;
}

.toggle_switch {
    position: relative;
    background-color: white;
    width: 22px;
    height: 22px;
    padding: 0px;
    border-radius: 10px;
    transition: translate 250ms ease-in;
}

.toggle_switch_active {
    translate: 30px;
    transition: translate 250ms ease-in;
}

/* image edit band*/
.avatar_container {
    position: relative;
    border-radius: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.avatar_img {
    width: 100%;
    border-radius: 30px;
    height: auto;
    align-self: center;
}

.avatar_btn {
    /* display: none; */
    position: absolute;
    width: 60px;
    border: none;
    border-radius: 0 0 30px 30px;
    bottom: 0px;
    background-color: rgba(245, 245, 245, 0.8);
}

/* profile edit image band */
.dp_edit_band {
    background-color: rgba(0, 0, 0, 0.3);
}

/* custom dashboard style for card*/
.custom_dashboard_card__style {
    border-radius: 8px;
    border-bottom-width: 4px;
    border-bottom: solid orange;
}

.custom_dashboard_card__style:hover {
    background: linear-gradient(0.25turn, #ffc107, #ff6f00);
    color: white;
    border-bottom: solid #c0c0c0;
}

/* error-message */
.error-message {
    color: red;
    font-size: 14px;
    padding: 4px;
}

/* filter card */
.filter-query_container {
    position: relative;
    z-index: 1;
}

.filter_query_card {
    position: absolute;
    background-color: #ebebeb;
    border-radius: 10px;
    width: 200px;
    padding: 8px;
    left: -50%;
    transform: translateX(-20%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.radio-group {
    display: flex;
    flex-direction: column;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-input {
    position: relative;
    margin-right: 5px;
    bottom: 4px;
}

.radio-label {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* override some bug on a:hover*/
a:hover {
    color: rgba(255, 165, 0, 0.8);
}

/* radio buttons */
input[type="radio"] {
    width: 15px;
    height: 15px;
}
