@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    background-color: white;
}

* {
    font-family: Inter, sans-serif;
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: PT serif;
}

td {
    padding: 0.5rem;
}

p {
    margin: 0;
}

a {
    color: var(--green-800);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--green-400);
    font-weight: 500;
    font-size: 16px;
}

    a:hover {
        color: var(--green-900);
        text-decoration-color: var(--green-800);
    }

h1:focus {
    outline: none;
}

input[type="radio"] {
    appearance: none;
    max-width: 20px;
    min-width: 20px;
    max-height: 20px;
    min-height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--gray-300);
    background-color: white;
}

    input[type="radio"]:hover {
        border-color: var(--gray-900);
    }

    input[type="radio"]:checked {
        border-width: 3.5px;
        background-color: var(--green-50);
        border-color: var(--green-700);
    }

    input[type="radio"]:disabled {
        border-color: var(--gray-200);
    }

    input[type="radio"]:checked:disabled {
        background-color: white;
    }

label:has(input[type="radio"]) {
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

label:has(input[type="radio"]:disabled) {
    color: var(--gray-300);
}

input[type="checkbox"] {
    appearance: none;
    max-width: 20px;
    min-width: 20px;
    max-height: 20px;
    min-height: 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--gray-300);
    background-color: white;
    transform: scale(1) !important;
}

    input[type="checkbox"]:after {
        content: '';
        position: absolute;
        display: none;
        top: 5px;
        left: 3px;
        width: 15px;
        height: 7px;
        border: solid var(--green-50);
        border-width: 0 0 2px 2px;
        transform: rotate(-45deg);
    }

    input[type="checkbox"]:hover {
        border-color: var(--gray-900);
    }

    input[type="checkbox"]:checked {
        background-color: var(--green-700);
        border: none;
    }

    input[type="checkbox"]:disabled {
        border-color: var(--gray-200);
        cursor: default;
    }

    input[type="checkbox"]:checked:disabled {
        background-color: var(--gray-200);
    }

    input[type="checkbox"]:checked:after {
        display: block;
    }

label:has(input[type="checkbox"]) {
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

label:has(input[type="checkbox"]:disabled) {
    color: var(--gray-400);
    cursor: default;
}

input[type="text"], input[type="password"] {
    min-height: 48px;
    max-height: 48px;
    border: 1px solid var(--gray-300);
    width: 100%;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
}

    input[type="text"]:focus, input[type="password"]:focus {
        border-color: var(--gray-900);
        outline: 2px solid var(--green-200);
    }

    input[type="text"]::placeholder, input[type="password"]::placeholder {
        color: var(--gray-400);
    }

    input[type="text"]:disabled, input[type="password"]:disabled {
        background-color: white !important;
        border-color: var(--gray-300) !important;
        color: var(--gray-300) !important;
    }

        input[type="text"]:disabled::placeholder, input[type="password"]:disabled::placeholder {
            color: var(--gray-300);
        }

    input[type="text"].error, input[type="password"].error {
        border-color: var(--red-600);
        color: var(--red-600);
        outline: none;
    }

select {
    appearance: none;
    min-height: 48px;
    max-height: 48px;
    border: 1px solid var(--gray-300);
    width: 100%;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    line-height: 1.5;
}

    select:hover {
        border-color: var(--gray-900);
    }

    select:focus {
        border-color: var(--gray-900);
        outline: 2px solid var(--green-200);
    }

    select::placeholder {
        color: var(--gray-400);
    }

    select.error {
        border-color: var(--red-600);
        color: var(--red-600);
        outline: none;
    }

label:has(input[type="text"]),
label:has(input[type="password"]),
label:has(textarea),
label:has(select) {
    color: var(--gray-900);
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

label:has(input[type="text"]:disabled),
label:has(input[type="password"]:disabled),
label:has(select:disabled) {
    color: var(--gray-600) !important;
}

label:has(input[type="text"].error),
label:has(input[type="password"].error),
label:has(textarea.error),
label:has(select.error) {
    color: var(--red-600);
}

.input-error-message {
    color: var(--red-600);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    margin-bottom: 0px;
}

.radio-helper-text {
    color: var(--gray-700);
    font-weight: 400;
    font-size: 14px;
}

.input-helper-text {
    color: var(--gray-800);
    font-weight: 400;
    font-size: 14px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA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M4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.btn-gray-border {
    color: var(--gray-700);
    background-color: white;
    border-color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: fit-content;
    height: fit-content;
}

    .btn-gray-border:hover {
        background-color: var(--gray-50);
        border-color: var(--gray-300);
        color: var(--gray-700) !important;
    }

.btn-gray-border-xs {
    color: var(--gray-800);
    background-color: white;
    border-color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 2px 8px;
    min-height: 28px;
    width: fit-content;
    height: fit-content;
}

    .btn-gray-border-xs:hover {
        color: var(--gray-800);
        background-color: var(--gray-50);
        border: 1px solid var(--gray-300);
    }

.btn-gray-border-icon {
    color: var(--gray-700);
    background-color: white;
    border-color: var(--gray-300);
    font-size: 14px;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: fit-content;
    height: fit-content;
    padding: 9px;
}

    .btn-gray-border-icon:hover {
        background-color: var(--gray-50);
        border-color: var(--gray-300);
        color: var(--gray-700) !important;
    }

.btn-green-fill {
    color: white;
    background-color: var(--green-800);
    border: none;
    min-height: 40px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: fit-content;
}

    .btn-green-fill:hover {
        background-color: var(--green-900);
        color: white;
    }

.btn-green-border {
    color: var(--green-800);
    background-color: white;
    border: 1px solid var(--green-500);
    min-height: 40px;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 16px;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: fit-content;
}

    .btn-green-border:hover {
        color: var(--green-800);
        border: 1px solid var(--green-500);
        background-color: var(--green-50);
    }

.btn-orange-border {
    color: var(--orange-700);
    background-color: white;
    border: 1px solid var(--orange-500);
    font-size: 14px;
    font-weight: 500;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: fit-content;
    height: fit-content;
}

    .btn-orange-border:hover {
        background-color: var(--orange-50);
        border: 1px solid var(--orange-500);
        color: var(--orange-700) !important;
    }

.btn-full-width {
    width: 100%;
    justify-content: center;
}
.setup-title {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.33;
    width: 256px;
    height: fit-content;
}

    .setup-title .title {
        color: var(--gray-900);
    }

.setup-description {
    padding-left: 52px;
    color: var(--gray-800);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
}

.setup-content {
    width: 768px;
    display: flex;
    gap: 48px;
}

.settings-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid var(--gray-100);
    padding-top: 12px;
    padding-left: 48px;
}

.loading-container {
    position: relative;
}

.is-loading {
    position: absolute;
    background: rgba(128, 128, 128, .5) url(loader.svg) no-repeat center center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 900;
}

.info-box {
    box-shadow: 0 0 5px 1px lightgrey;
    padding: 2rem;
}

.max-width-content {
    max-width: fit-content;
}

.load {
    background: white url(loader.svg) no-repeat center center !important;
    position: absolute;
    min-height: 150px;
    width: 300px;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    top: calc(50% - 75px);
    left: calc(50% - 150px);
}

.logo-with-name {
    display: block;
    width: 200px;
    height: 49px;
    background: url(../logo-with-name.svg) no-repeat 0 0;
    z-index: 9999;
}

.alert-box {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 400;
    line-height: 1.43;
    font-size: 14px;
}

.info-alert {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.warning-alert, .warning-alert p {
    background-color: var(--yellow-50);
    border: none;
    color: var(--yellow-900);
}

.square-icon-shape svg {
    stroke: var(--gray-800);
}

.required-setting .square-icon-shape svg {
    stroke: var(--orange-800);
}

.error-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.error-content-container p {
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    margin-bottom: 8px;
}

.gap-12px {
    gap: 12px;
}

.gap-14px {
    gap: 14px;
}

.gap-24px {
    gap: 24px;
}

.pt-12px {
    padding-top: 12px;
}

.ps-32px {
    padding-left: 32px;
}

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

.my-24px {
    margin: 24px 0;
}

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

.font-weight-400 {
    font-weight: 400;
}

.font-weight-600 {
    font-weight: 600;
}

.line-height-100 {
    line-height: 1;
}

.main-container {
    max-width: 1280px;
    padding: 0;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-container-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

@media (max-width: 1535px) {
    .main-container {
        max-width: 1100px;
    }
}

@media (max-width: 1279px) {
    .main-container {
        max-width: 976px;
    }
}

@media (max-width: 1023px) {
    .main-container {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    .main-container {
        max-width: 592px;
        padding: 0 24px;
    }

    .main-container-body {
        top: 98px;
        left: 0;
        transform: translate(0, 0);
        padding: 0 24px;
    }
}
