:root {
    --font-size: .895rem;
    --focus-state: 1px solid black;
    --border: 1.9px solid #e4e4e7;
    --padding: .5rem .75rem;
    --form-padding: 2rem;
    --border-radius: 5px;
    --label-margin-bottom: 5px;
    --form-h1-font-size: 1.25rem;
    --message-padding: .7rem .75rem;
    --text-area-padding: 1rem 1.5rem;
    --text-area-border: 2px solid black;
    --page-padding: 4rem 2rem;
    --page-h1-font-size: 2.25rem;
    --page-header-sub-text-font-size: 16px;
    --h2-margin-bottom: 15px;
    --cool-black: #2d2d2d;
    --error-color: #d93025;
    --error-text-color: #ee1b0c;
    --gray-border: #d8dbdf;
}

* {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    box-sizing: border-box;
    margin: 0;
}

body {
    background-color: white;
    position: relative;
    overflow-x: hidden;
}

.message-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--message-padding);
    border-radius: var(--border-radius);
    background-color: #EF9A9A;
    color: #000000;
    font-weight: bold;
}

.base-button {
    padding: .5rem .75rem;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    border-radius: 4px;
    font-weight: 600;
}

.base-button:hover {
    filter: brightness(90%) !important;
}

.base-button.secondary {
    color: #0007149F;
    background-color: #8f8f8f2e
}

.base-button.primary.default {
    color: white;
    background-color: #1E90FF;
}

#error-text {
    text-align: center;
    font-size: 15px;
    color: var(--error-color);
}

.primary-button {
    border: none;
    display: flex;
}
.secondary-button,
.primary-button, .warning-button  {
    padding: 0.40rem .7rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid #1E90FF;
    display: flex;
    align-items: center;
    cursor: pointer;

}

.secondary-button.disabled,
.primary-button.disabled, .warning-button.disabled {
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.warning-button  {
    background-color: var(--error-color);
    color: white;
    border-color: var(--error-color);
    transition: background-color .4s ease, color .4s ease;
}
.warning-button:hover {
    color: var(--error-color);
    background-color: white;
}
.primary-button {
    background-color: #1E90FF;
    color: #ffffff;
    line-height: 1rem;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px #488aec31, 0 2px 4px -1px #488aec17;
    transition: all 0.6s ease;
}

.primary-button:hover {
    box-shadow: 0 10px 18px -3px #488aec88, 0 5px 10px -2px #488aec55;
}

.primary-button:focus,
.primary-button:active {
    opacity: 0.85;
    box-shadow: none;
}

.secondary-button {
    background-color: transparent;
    color: #ffffff;
    line-height: 1rem;
    cursor: pointer;
    user-select: none;
    gap: 0.75rem;
    overflow: hidden;
    z-index: 1;
    color: #1E90FF;
    position: relative;
    transition: box-shadow .6s ease;
}

.secondary-button::before {
    position: absolute;
    content: "";
    background: #1E90FF;
    width: calc(100% + 100px);
    height: 100px;
    z-index: -1;
    border-radius: 50%;
}

.secondary-button:hover {
    color: white;
    box-shadow: 0 10px 18px -3px #488aec88, 0 5px 10px -2px #488aec55;
}

.secondary-button:before {
    top: 100%;
    left: 100%;
    transition: 0.3s all;
}

.secondary-button:hover::before {
    top: -30px;
    left: -30px;
}

.input-wrapper {
    display: flex;
    line-height: 30px;
    align-items: center;
    position: relative;
}
.text-area-input-icon {
    position: absolute;
    left: 1rem;
    top: .9rem;
}
.t-input-no-img,
.t-input {
    width: 100%;
    min-width: 300px;
    height: 40px;
    line-height: 30px;
    padding: 0 1rem;
    padding-left: 3rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14.7px;
    outline: none;
    background-color: white;
    color: #0d0c22;
    transition: .5s ease;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.t-text-area {
    line-height: 20px;
    padding: .5rem 1rem;
    text-indent: 2rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14.7px;
    outline: none;
    background-color: white;
    color: #0d0c22;
    transition: .5s ease;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.t-text-area::placeholder, .t-input::placeholder {
    color: #94a3b8;
}

.t-input-no-img:focus,
.t-input-no-img:hover,
.t-input:focus,
.t-input:hover,
.t-text-area:focus,
.t-text-area:hover,
.select-drop:hover {
    outline: none;
    border-color: #1E90FF;
    background-color: #fff;
   
}

.input-icon {
    position: absolute;
    left: 1rem;
    fill: none;
    width: 1rem;
    height: 1rem;
}

.select-drop {
    outline: none;
    background-color: #f5f8fb;
    border: 2px solid transparent;
    height: 40px;
    border-radius: 10px;
    min-width: 200px;
    padding: 0 1rem;
    transition: .5s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.select-drop button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

select {

    &,
    &::picker(select) {
        appearance: base-select;
    }

    &::picker(select) {
        appearance: base-select;
        background-color: white;
        margin-top: 10px;
        margin-bottom: 10px;
        outline: none;
        border: none;
        border-radius: 5px;
        box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
        padding: .5rem 0;
    }

    option {
        padding: .5rem 1rem;
    }


    option::checkmark,
    &::picker-icon {
        display: none;
    }

    .picker {
        margin-bottom: 5px;
    }


}

h1,
h2,
h3,
strong {
    color: var(--cool-black);
}

h1 {
    font-size: 25px;

}

h2 {
    font-size: 21px;

}

h3 {
    font-size: 16px;

}

.error {
    color: #E53E3E !important;
}

#messages-box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

#messages-box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgb(0 0 0 / 60%);
}

#message-content {
    background-color: white;
    z-index: 2;
    padding: 1.8rem 2rem;
    border-radius: 5px;
    max-width: 600px;
    transform: scale(0.9);
    transition: transform .1s ease;
}

#message-sub-text {
    font-size: 14px;
    padding: 1rem 0;
    border-bottom: 3px solid #edf2f7;
}

#message-box-btns {
    display: flex;
    justify-content: right;
    gap: 20px;
    padding-top: 1rem;
}

#messages-box.active {
    opacity: 1;
    pointer-events: all;
}

#messages-box.active #message-content {
    transform: scale(1);
}

#message-box-custom {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.9);
    transition: transform .1s ease;
}

#messages-box.active #message-box-custom {
    transform: scale(1);
}

.toast-box {
    position: fixed;
    background-color: transparent;
    padding: .9rem 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    z-index: 20000;
    min-width: 350px;
    transition: all .4s ease;
    right: -50%;
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toast-box.toast-error {
    background-color: #fce8e6;
    border: 1px solid #f4c7c3;
}
.toast-box.toast-info {
    background-color: #e8f0fe;
    border: 1px solid #c3d5f4
}
.toast-box.toast-success {
    background-color: #e6f4ea;
    border: 1px solid #c6e3cc;
}

.toast-sub-text,
.toast-header-text {
    font-size: 14px;
}

.toast-header-text {
    font-weight: bold;
}

.toast-box.toast-success .toast-header-text,
.toast-box.toast-success .toast-sub-text {
    color: #188038;
}
.toast-box.toast-info .toast-header-text,
.toast-box.toast-info .toast-sub-text {
    color: #1a73e8;
}
.toast-box.toast-error .toast-header-text,
.toast-box.toast-error .toast-sub-text {
    color: var(--error-color);
}

.toast-icon {
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
}

.toast-box.toast-success .toast-icon {
    background-color: #188038;
    border-radius: 50%;
    width: 25px;
    height: 25px;
}
.toast-box.toast-info .toast-icon {
    background-color: #1a73e8;
    border-radius: 3px;
    width: 25px;
    height: 25px;
}
.toast-box.toast-error .toast-icon {
    background-color: var(--error-color);
    border-radius: 3px;
    rotate: 45deg;
    color: white;
}

.info-icon {
    display: none;
}
.error-icon {
    display: none;
    rotate: -45deg;
    font-size: 13px;
    font-weight: bold;
}

.success-icon {
    display: none;
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.toast-box.toast-success .success-icon {
    display: block;
}
.toast-box.toast-info .info-icon {
    display: block;
}
.toast-box.toast-error .error-icon {
    display: block;
}

.toast-box.active {
    right: 50px;
    top: 50px;
}
.input-wrapper.error-input .t-text-area, 
.input-wrapper.error-input .t-input {
    border-color: var(--error-color);
}

.input-wrapper.error-input::before {
    content: attr(errorText);
    position: absolute;
    font-size: 13px;
    top: calc(100% + 15px);
    color: var(--error-color);
    font-weight: bold;
    line-height: 0px;
}

.input-wrapper.error-input .t-input:hover,
.input-wrapper.error-input .t-input:focus {
    box-shadow: none;
}

.loading-wrapper {
    position: absolute;
    width: 1.5rem;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
    display: none;

}

.loading-icon {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

.primary-button.loading, .warning-button.loading {
    pointer-events: none;
    user-select: none;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-button.loading *, .warning-button.loading * {
    opacity: 0;
}

.primary-button.loading .loading-wrapper, 
.primary-button.loading .loading-icon {
    opacity: 1;
}

.warning-button.loading .loading-wrapper, 
.warning-button.loading .loading-icon {
    opacity: 1;
}

.primary-button.loading .loading-wrapper, .warning-button.loading .loading-wrapper {
    display: block;
}



#logged-out-wrapper {
    z-index: 3;
    padding: 1.8rem 2rem;
    border-radius: 5px;
    background-color: white;

}

#logged-out-img-wrapper img {
    width: 70px;
}

#logged-out-text,
#logged-out-img-wrapper,
#logged-out-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#logged-out-text {
    margin-top: 1rem;
    gap: 1rem;
}

.no-events {
    pointer-events: none;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    pointer-events: none;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 8px 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--cool-black);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 1);
    user-select: none;
}
.tooltip-container:hover .tooltip{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.hidden {
    display: none;
}
.t-input-no-img {
    padding: 0 1rem;
    box-shadow: 0px 1px 3px 0px rgba(26, 29, 40, 0.1);
    border: 1.8px solid rgb(201, 201, 201);
}

.input-span-error {
    position: relative;
    width: 100%;
}
.input-span-error::after {
    content: attr(errorTxt);
    font-size: 13px !important;
    color: var(--error-text-color) !important;
    font-weight: normal !important;
    position: absolute;
    bottom: -30px;
    width: 100%;
    left: 0;
}
.based-iput-box {
    border-radius: 7px;
    box-shadow: none;
    border: 1.5px solid var(--gray-border);
    transition: .5s ease border-color;
    width: 100%;
    background-color: white;
    padding: 0 1rem;
    height: 40px;
    outline: none;
    font-size: 14.7px;
}