/************ Root ************/
:root {
    --blue: #0075ff;
    --blue-alt: #0d69d5;
    --orange: #f59e0b;
    --green: #22c55e;
    --red: #f44336;
    --grey: #888;
}
/************ Global ************/
* {
    box-sizing: border-box;
    outline: none;
}

body {
    margin: 0;
}

a {
    text-decoration: none;
}

:focus::placeholder {
    opacity: 0;
}

/************ Display ************/
.zs-d-block {
    display: block;
}

.zs-d-flex {
    display: flex;
}

.zs-d-flex-inline {
    display: inline-flex !important;
}

.zs-d-grid {
    display: grid;
}

/************ Media Display ************/
@media (max-width: 767px) {
    .zs-d-xl-none {
        display: none;
    }

    .zs-d-lx-block {
        display: block;
    }
}

/************ Flex ************/
.zs-f-wrap {
    flex-wrap: wrap;
}

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

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

.zs-justify-content-between {
    justify-content: space-between;
}

/************ Grid ************/
.zs-gap-20 {
    gap: 20px;
}

/************ Background ************/
.zs-bg-white {
    background-color: white;
}

/************ Padding ************/
.zs-p-10 {
    padding: 10px !important;
}

.zs-p-15 {
    padding: 15px;
}

.zs-p-20 {
    padding: 20px;
}

.zs-pt-15 {
    padding-top: 15px;
}

.zs-pb-15 {
    padding-bottom: 15px;
}

.zs-pl-15 {
    padding-left: 15px;
}

.zs-pr-15 {
    padding-right: 15px;
}
/************ Margin ************/
.zs-m-0 {
    margin: 0;
}

.zs-m-15 {
    margin: 15px;
}

.zs-m-20 {
    margin: 20px;
}

.zs-mt-0 {
    margin-top: 0;
}

.zs-mt-5 {
    margin-top: 5px;
}

.zs-mt-10 {
    margin-top: 10px;
}

.zs-mt-15 {
    margin-top: 15px;
}

.zs-mt-20 {
    margin-top: 20px;
}

.zs-mb-0 {
    margin-bottom: 0;
}

.zs-mb-5 {
    margin-bottom: 5px;
}

.zs-mb-10 {
    margin-bottom: 10px;
}

.zs-mb-15 {
    margin-bottom: 15px;
}

.zs-mb-20 {
    margin-bottom: 20px;
}

.zs-mb-25 {
    margin-bottom: 25px;
}

.zs-mr-10 {
    margin-right: 10px;
}

.zs-mr-15 {
    margin-right: 15px;
}

.zs-ml-5 {
    margin-left: 5px;
}

.zs-mx-10 {
    margin: 0 10px;
}

.zs-my-10 {
    margin: 10px 0;
}

.zs-my-15 {
    margin: 15px 0;
}

/************ Position ************/
.zs-p-relative {
    position: relative;
}

/************ Text ************/
.zs-text-center {
    text-align: center;
}


/************ Media Text ************/
@media (max-width: 767px) {
    .zs-text-lx-center {
        text-align: center;
    }
}

/************ Font ************/
.zs-fs-13 {
    font-size: 13px;
}

.zs-fs-14 {
    font-size: 14px;
}

.zs-fs-15 {
    font-size: 15px;
}

.zs-fs-25 {
    font-size: 25px;
}

.zs-fc-black {
    color: black;
}

.zs-fc-secondry {
    color: var(--grey);
}

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

.zs-fw-normal {
    font-weight: normal;
}

/************ Radius ************/
.zs-radius-circle {
    border-radius: 50%;
}

.zs-radius-6 {
    border-radius: 6px;
}

.zs-radius-10 {
    border-radius: 10px;
}

/************ Input ************/
.zs-form-control {
    padding: 10px;
    background-color: white;
    display: block;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    resize: none;
}

.zs-form-control:focus {
    box-shadow: 0 0 5px #ddd;
}

/************ Button ************/
.zs-btn {
    font-size: 14px;
    border-radius: 6px;
    text-align: center;
    padding: 4px 10px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color .3s linear;
}

.zs-btn-primary {
    background-color: var(--blue);
}

.zs-btn-primary:hover {
    background-color: var(--blue-alt);
}

.zs-btn-secondary {
    background-color: var(--grey);
}

.zs-btn-danger {
    background-color: var(--red);
}

.zs-btn-success {
    background-color: var(--green);
}

.zs-btn-warning {
    background-color: var(--orange);
}

/************ Button Size ************/
.zs-btn-sm {
    padding: 5px;
}

/************ Table ************/
.table-responsive {
    overflow-x: auto;
}

/************ Toggle Switch ************/
.toggle-switch-checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: none;
}

.toggle-switch-div {
    background-color: #ccc;
    width: 78px;
    height: 32px;
    border-radius: 16px;
    position: relative;
    transition: .3s;
    cursor: pointer;
}

.toggle-switch-div::before {
    font-family: var(--fa-style-family-classic);
    content: '\f00d';
    font-weight: 900;
    background-color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    transition: .3s;
}


.toggle-switch-checkbox:checked + div {
    background-color: var(--blue);
}

.toggle-switch-checkbox:checked + div::before {
    content: '\f00c';
    left: 50px;
    color: var(--blue);
}

/************ Checkbox Rotate ************/
.checkbox-rotate input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.checkbox-rotate span {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox-rotate span::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid var(--grey);
}

.checkbox-rotate span:hover::before {
    border-color: var(--blue-alt);
}

.checkbox-rotate span::after {
    font-family: var(--fa-style-family-classic);
    content: '\f00c';
    font-weight: 900;
    background-color: var(--blue);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0) rotate(360deg);
    transition: transform .3s linear;
}

.checkbox-rotate span::before,
.checkbox-rotate span::after {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -9px;
}

.checkbox-rotate span::before,
.checkbox-rotate span::after {
    border-radius: 4px;
}

.checkbox-rotate input[type="checkbox"]:checked + span::after {
    transform: scale(1) rotate(0deg);
}

/************ Size ************/
.zs-w-full {
    width: 100%;
}
.zs-w-fit-content {
    width: fit-content;
}

.zs-h-full {
    height: 100%;
}

/************ Radio Rotate ************/
.radio-rotate input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
}

.radio-rotate span {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.radio-rotate span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -11px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--grey);
    border-radius: 50%;
}

.radio-rotate span::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--blue);
    border-radius: 50%;
    transform: scale(0);
    transition: transform .3s linear;
}

.radio-rotate input[type="radio"]:checked + span::before {
    border-color: var(--blue);
}

.radio-rotate input[type="radio"]:checked + span::after {
    transform: scale(1);
}