.w-full{ width: 100%; }
.h-full{ height: 100%; }
.min-h-screen{ height: 100vh; }

/* Flex */
.flex{ display:flex!important; }
.flex-1{ flex:1; }
.inline-flex{ display:inline-flex; }
.flex-column{ flex-direction: column; }
.flex-row{ flex-direction: row; }
.flex-nowrap{ flex-wrap: nowrap; }
.flex-wrap{ flex-wrap: wrap; }

.justify-start{ justify-content:flex-start!important; }
.justify-center{ justify-content:center!important; }
.justify-end{ justify-content:flex-end!important; }
.justify-space-between{ justify-content:space-between!important; }

.align-start{ align-items:start!important; }
.align-center{ align-items:center!important; }
.align-end{ align-items:end!important; }

.vertical-middle{ vertical-align: middle; }

/* Padding */
.p-0 { padding: 0; }
.p-5 { padding: 5px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.pt-0 { padding-top: 0; }
.pt-5 { padding-top: 5px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pb-0 { padding-bottom: 0; }
.pb-5 { padding-bottom: 5px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pl-0 { padding-left: 0; }
.pl-5 { padding-left: 5px; }
.pl-10 { padding-left: 10px; }
.pl-20 { padding-left: 20px; }
.pl-30 { padding-left: 30px; }
.pr-0 { padding-right: 0; }
.pr-5 { padding-right: 5px; }
.pr-10 { padding-right: 10px; }
.pr-20 { padding-right: 20px; }
.pr-30 { padding-right: 30px; }

/* Margins */
.mx-auto{ margin-left: auto; margin-right: auto; }
.m-0 { margin: 0; }
.m-5 { margin: 5px; }
.m-10 { margin: 10px; }
.m-20 { margin: 20px; }
.m-30 { margin: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.ml-0 { margin-left: 0; }
.ml-5 { margin-left: 5px; }
.ml-10 { margin-left: 10px; }
.ml-20 { margin-left: 20px; }
.ml-30 { margin-left: 30px; }
.mr-0 { margin-right: 0; }
.mr-5 { margin-right: 5px; }
.mr-10 { margin-right: 10px; }
.mr-20 { margin-right: 20px; }
.mr-30 { margin-right: 30px; }

/* Backgrounds */
.bg-white{ background: var(--surface-surface-bg); }
.bg-light{ background: var(--surface-surface-tertiary); }
.bg-primary{ background: var(--surface-brand-surface-brand-primary); }
.bg-secondary{ background: var(--surface-brand-surface-brand-tertiary) }
.bg-warning { background: var(--surface-warning-surface-primary); }
.bg-danger { background: var(--surface-error-surface-primary); }
.bg-success { background: var(--surface-success-surface-primary);}

.hover\:bg-white:hover { background: var(--surface-surface-bg); }
.hover\:bg-light:hover { background: var(--surface-surface-tertiary); }
.hover\:bg-primary:hover { background: var(--surface-brand-surface-brand-primary); }
.hover\:bg-secondary:hover { background: var(--surface-brand-surface-brand-tertiary); }
.hover\:bg-warning:hover { background: var(--surface-warning-surface-primary); }
.hover\:bg-danger:hover { background: var(--surface-error-surface-primary); }
.hover\:bg-success:hover { background: var(--surface-success-surface-primary); }

/* Borders */
.border-0{ border: 0; }
.border-1{ border-width: 1px; }
.border-2{ border-width: 2px; }
.border-3{ border-width: 3px; }
.border-4{ border-width: 4px; }
.border-5{ border-width: 5px; }

.bt-0{ border-top: 0; }

/* Border styles */
.border-solid{ border-style: solid; }
.border-dashed{ border-style: dashed; }

/* Border colors */
.border-light{ border-color: var(--surface-surface-tertiary); }
.border-primary { border-color: var(--surface-brand-surface-brand-primary); }
.border-warning { border-color: var(--text-warning-text-primary); }
.border-danger { border-color: var(--text-error-text-primary); }
.border-success { border-color: var(--text-success-text-primary); }

.hover\:border-light:hover { border-color: var(--surface-surface-tertiary); }
.hover\:border-primary:hover { border-color: var(--surface-brand-surface-brand-primary); }
.hover\:border-warning:hover { border-color: var(--surface-warning-surface-secondary); }
.hover\:border-danger:hover { border-color: var(--surface-brand-surface-brand-primary); }
.hover\:border-success:hover { border-color: var(--surface-success-surface-secondary); }

/* Border Radius */
.rounded-8{ border-radius: 8px; }
.rounded-full{ border-radius: 9999px; }

/* Text colours */
.text-primary { color: var(--surface-brand-surface-brand-primary); }
.text-warning { color: var(--text-warning-text-primary); }
.text-danger { color: var(--text-error-text-primary); }
.text-success { color: var(--text-success-text-primary); }

.hover\:text-primary:hover { color: var(--surface-brand-surface-brand-primary); }
.hover\:text-warning:hover { color: var(--text-warning-text-primary); }
.hover\:text-danger:hover { color: var(--text-error-text-primary); }
.hover\:text-success:hover { color: var(--text-success-text-primary); }

/* Text position */
.text-left{ text-align: left; }
.text-right{ text-align: right; }
.text-center{ text-align: center; }

/* Text styling */
.uppercase{ text-transform: uppercase; }
.underline{ text-decoration: underline; }

.hover\:text-decoration-none:hover{ text-decoration: none; };

/* Font weight */
.fw-300{ font-weight: 300; }
.fw-400{ font-weight: 400; }
.fw-500{ font-weight: 500; }
.fw-600{ font-weight: 600; }
.fw-700{ font-weight: 700; }

/* Font size */
.fs-xs{ font-size: var(--mit-font-xs); }
.fs-s{ font-size: var(--mit-font-s); }
.fs-m{ font-size: var(--mit-font-m); }
.fs-l{ font-size: var(--mit-font-l); }
.fs-xl{ font-size: var(--mit-font-xl);}
.fs-2xl{ font-size: var(--mit-font-2xl); }

/* Display */
.none { display: none!important; }
.block{ display: block!important; }
.grid{ display: grid!important; }
.inline-block{ display: inline-block!important; }

.gap-10{ gap:10px; }

/* Positioning */
.position-absolute{ position: absolute; }
.position-relative{ position: relative; }
.position-fixed{ position: fixed; }

.z-index-1{ z-index: 1; }
.z-index-2{ z-index: 2; }
.z-index-3{ z-index: 3; }
.z-index-4{ z-index: 4; }
.z-index-5{ z-index: 5; }

.overflow-hidden{ overflow: hidden; }
.overflow-auto{ overflow: auto; }
.overflow-x{ overflow: auto hidden; }
.overflow-y{ overflow: hidden auto; }

.whitespace-nowrap{ white-space: nowrap; }

.cursor-pointer{ cursor: pointer; }

.box-shadow{ box-shadow: 0px 1px 2px 0px #1018280D; }

.img-fluid{
    max-width: 100%;
    height: auto;
}

.disabled{
    pointer-events: none;
    opacity: .4;
}

@media (max-width: 768px){
    .mobile\:hidden{ display: none!important; }
}

@media (min-width: 768px){
    .clear{ height:32px; }

    .tablet\:hidden{ display:none!important; }

    .tablet\:mb-0{ margin-bottom: 0; }
    .tablet\:mt-0{ margin-top: 0; }

    .tablet\:justify-start{ justify-content:flex-start!important; }
    .tablet\:justify-center{ justify-content:center!important; }
    .tablet\:justify-end{ justify-content:flex-end!important; }
    .tablet\:justify-space-between{ justify-content:space-between!important; }
    .tablet\:align-start{ align-items:start!important; }
    .tablet\:align-center{ align-items:center!important; }
    .tablet\:align-end{ align-items:end!important; }

    .tablet\:w-auto{ width: auto; }
}