@import url('developer.css');
@import url('color.css');
@import url('fonts.css');
@import url('style.css');


i[data-tabler] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

i[data-tabler] svg {
    width: 100%;
    height: 100%;
    fill: none;
}


.btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    border: none;
    width: 100%;
    min-height: 44px;
    max-height: 44px;
    box-shadow: none;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary-600);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--primary-700);
        color: #fff;
    }
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-600);
    cursor: pointer;
    border: 1px solid var(--primary-600);
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--primary-600);
        color: var(--white);
    }
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--white);

    &:hover {
        border-color: var(--primary-600);
        color: var(--primary-600);
    }
}

.btn-tertiary {
    background-color: var(--black);
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--black);

    &:hover {
        background-color: var(--primary-600);
        color: var(--white);
        border-color: var(--primary-600);
    }
}

.btn-tertiary-outline {
    background-color: var(--white);
    color: var(--slate-600);
    cursor: pointer;
    border: 1px solid var(--zinc-100);

    &:hover {
        background-color: var(--white);
        border-color: var(--primary-600);
        color: var(--primary-600);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
}

.form-control {
    border: 1px solid var(--slate-200);
    height: 40px;
    width: 100%;
    padding: 8px 12px;
    font-weight: 400;
    font-size: 14px; 
    color: var(--slate-400);
    background-color: var(--white);
    transition: all 0.3s ease;

    &:focus {
        border-color: var(--primary-600);
        outline: none;
    }

    &::placeholder {
        color: var(--slate-400);
        font-weight: 400;
    }
}

.form-select-wrap {
    position: relative;
    width: 100%;
}

.form-select-wrap select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: none;
}

.form-select-wrap .form-select-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-select-wrap .form-select-chevron svg {
    display: block;
    transition: transform 0.2s ease;
}

.form-select-wrap:focus-within .form-select-chevron svg {
    transform: rotate(180deg);
}

.date-input-wrap {
    position: relative;
    width: 100%;
}

.date-input-wrap input.form-control[type="date"] {
    padding-right: 40px;
}

.date-input-wrap .date-input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-input-wrap input.form-control[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 40px;
    height: 100%;
    cursor: pointer;
}

.custom-radio {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid var(--slate-300);
    background-color: var(--white);
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-radio::after {
    content: "✓";
    color: var(--white);
    font-size: 8px;
    line-height: 1;
    transform: scale(0);
    transition: transform 0.15s ease;
}

.custom-radio:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.custom-radio:checked::after {
    transform: scale(1);
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--slate-300);
    background-color: var(--white);
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-checkbox::after {
    content: "✓";
    color: var(--white);
    font-size: 13px;
    line-height: 1;
    transform: scale(0);
    transition: transform 0.15s ease;
}

.custom-checkbox:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.custom-checkbox:checked::after {
    transform: scale(1);
}

.swiper {
    position: relative;
}

.swiper-pagination {
    position: absolute;
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    background-color: #000;
}

.custom-select {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    padding-right: 36px;
}

.custom-select-trigger:focus {
    border-color: var(--primary-600);
    outline: none;
}

.custom-select-label {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 20;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--slate-200);
    background-color: var(--white);
}

.custom-select.is-open .custom-select-menu {
    display: block;
}

.custom-select.is-open .custom-select-chevron svg {
    transform: rotate(180deg);
}

.custom-select-menu li {
    padding: 8px 12px;
    color: var(--slate-400);
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.custom-select-menu li:hover,
.custom-select-menu li.is-selected {
    background-color: #dbeafe;
    color: var(--slate-700);
}