:root {
    font-family: Inter, sans-serif;
    font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
}
/* @supports (font-variation-settings: normal) {
    :root {
        font-family: InterVariable, sans-serif;
    }
} */

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #f5f5f5;
}

a {
    cursor: pointer;
    color: inherit;
    text-decoration: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* TYPOGRAPHY DESIGN SYSTEM */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-feature-settings: "salt" on;
    font-weight: 600;
    letter-spacing: -0.6px;
    font-style: normal;
    line-height: 130%;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.2px;
}

.f-m {
    font-weight: 500;
}
.f-sb {
    font-weight: 600;
}
.f-b {
    font-weight: 700;
}
.f-s-12 {
    font-size: 12px;
}

.f-s-14 {
    font-size: 14px;
}

.f-s-16 {
    font-size: 16px;
}

/* BUTTON COMPONENT DESIGN SYSTEM */

button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.18px;
    border: none;
    border-radius: 100px;
}

.btn-l {
    font-size: 16px;
    line-height: 22px;
    padding: 15px 24px;
}

.btn-m {
    font-size: 14px;
    line-height: 18px;
    padding: 14px 20px;
}

.btn-s {
    font-size: 14px;
    line-height: 18px;
    padding: 7px 16px;
}

.primary {
    background-color: #2517c2;
    color: white;
}

.btn-table-primary-l {
    display: flex;
    padding: 11px 20px 11px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #67e8f9;
    background-color: #06b6d4;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 16px 8px 16px;
}

.btn-table-approve {
    display: flex;
    padding: 11px 20px 11px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background-color: #22c55e;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.btn-table-approve-s {
    display: flex;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background-color: #22c55e;
    box-sizing: border-box;
    height: 32px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

button {
    font-family: inherit;
}

.btn-table-reject-s {
    display: flex;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background-color: #ef4444;
    box-sizing: border-box;
    height: 32px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.btn-table-reject {
    display: flex;
    padding: 11px 20px 11px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background-color: #ef4444;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.btn-table-approve:hover {
    background-color: #1aaf51;
}

.btn-table-reject:hover {
    background-color: #d43b3b;
}

.btn-table-primary-2 {
    display: flex;
    padding: 11px 20px 11px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    /* border: 1px solid #737373; */
    background-color: #fff;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.btn-table-primary-2:hover {
    background-color: #f5f5f5;
}

button[disabled] {
    display: flex;
    padding: 11px 20px 11px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    background-color: #a3a3a3;
    box-sizing: border-box;
    height: 40px;
    cursor: default;
    opacity: 0.6;
}

.btn-table-primary {
    display: flex;
    padding: 11px 20px 11px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #67e8f9;
    background-color: #06b6d4;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.btn-table-secondary {
    display: flex;
    padding: 11px 20px 11px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #575757;
    background-color: #fff;
    box-sizing: border-box;
    height: 40px;
    cursor: pointer;
}

.btn-table-secondary:hover {
    border: 1px solid #06b6d4;
}

.btn-table-primary:hover,
.btn-table-primary-l:hover {
    background: linear-gradient(130deg, #6f4da7 42.17%, #0ca1b4 72.88%);
    border: 1px solid #4f4f90;
}

label.radio-button {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="radio"] {
    background-color: white;
    border: 2px solid #959fad;
    border-radius: 40px;
    cursor: pointer;
    display: inline-block;
    height: 24px;
    position: relative;
    width: 24px;
    -webkit-appearance: none;
    box-sizing: border-box;
    transition: all 0.3s;
}
input[type="radio"]:after {
    background-color: white;
    border-radius: 25px;
    content: "";
    display: block;
    height: 12px;
    left: 4px;
    position: relative;
    top: 4px;
    width: 12px;
}
input[type="radio"]:checked {
    background-color: #22c55e;
    border: 2px solid #22c55e;
    transition: all 0.3s;
}

select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
}
select::-ms-expand {
    display: none;
}

select:disabled {
    background-color: #a09a9a;
}

.select {
    display: grid;
    align-self: stretch;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #d4d4d4;
    background-color: #fafafa;
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.14px;
    background-repeat: no-repeat;
    padding: 0px 12px 0px 12px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    box-sizing: border-box;
    outline: none;
    grid-template-areas: "select";
    align-items: center;
    background-image: url("../img/dark-chevron-down.svg");
    background-position: 96% 11px;
}

select,
.select:after {
    grid-area: select;
}

.select::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    justify-self: end;
}

.select-f {
    display: grid;
    align-self: stretch;
    align-items: center;
    height: 40px;
    box-sizing: border-box;
    border-radius: 100px;
    border: 1px solid #d4d4d4;
    background-color: #fafafa;
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.14px;
    background-repeat: no-repeat;
    padding: 7px 22px 7px 16px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    box-sizing: border-box;
    outline: none;
    grid-template-areas: "select";
    align-items: center;
    background-image: url("../img/dark-chevron-down.svg");
    background-position: 96% 11px;
    width: 180px;
    cursor: pointer;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

select,
.select-f:after {
    grid-area: select;
}

.select-f::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    justify-self: end;
}

/* select:focus + .focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 5px solid red;
    border-radius: inherit;
    background-color: red;
} */

/* COLOR PALLETE DESIGN SYSTEM */

.color-white {
    color: #fff;
}

.color-black {
    color: #000;
}

.color-g10 {
    color: #fafafa;
}
.color-g100 {
    color: #f5f5f5;
}
.color-g200 {
    color: #e5e5e5;
}
.color-g300 {
    color: #d4d4d4;
}
.color-g400 {
    color: #a3a3a3;
}
.color-g500 {
    color: #737373;
}
.color-g600 {
    color: #525252;
}
.color-g700 {
    color: #404040;
}
.color-g800 {
    color: #262626;
}
.color-g900 {
    color: #171717;
}

.color-header {
    color: #242460;
}

.color-success-10 {
    color: #dcfce7;
}

.color-success-300 {
    color: #bbf7d0;
}
.color-success-500 {
    color: #4ade80;
}
.color-success-700 {
    color: #22c55e;
}
.color-success-900 {
    color: #15803d;
}

.color-warning-10 {
    color: #fef9c3;
}

.color-warning-300 {
    color: #fef08a;
}
.color-warning-500 {
    color: #facc15;
}
.color-warning-700 {
    color: #eab308;
}
.color-warning-900 {
    color: #a16207;
}

.color-error-10 {
    color: #fee2e2;
}

.color-error-300 {
    color: #fecaca;
}
.color-error-500 {
    color: #f87171;
}
.color-error-700 {
    color: #ef4444;
}
.color-error-900 {
    color: #b91c1c;
}

.bg-white {
    background-color: white !important;
}

.bg-g100 {
    background-color: #f5f5f5 !important;
}
.bg-g200 {
    background-color: #e5e5e5 !important;
}

.bg-error-700 {
    background-color: #ef4444;
}
.bg-warning-700 {
    background-color: #eab308;
}

.bg-darkpurple {
    background-color: #1c1c4d !important;
}

/* Sizing Design System */

.w-32 {
    width: 32px;
}

.br-circle {
    border-radius: 100px !important;
}

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

/* LAYOUT */

.d-flex {
    display: flex;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.g-8 {
    gap: 8px;
}

.g-24 {
    gap: 24px;
}

.g-40 {
    gap: 40px;
}

@media only screen and (max-width: 580px) {
    .btn-table-primary {
        height: 48px;
    }
}
