@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=visibility,visibility_off');

:root {
    --custom--palette--gray-50: #f9fafb;
    --custom--palette--gray-100: #f3f4f6;
    --custom--palette--gray-200: #e5e7eb;
    --custom--palette--gray-300: #d1d5db;
    --custom--palette--gray-400: #9ca3af;
    --custom--palette--gray-500: #6b7280;
    --custom--palette--gray-600: #4b5563;
    --custom--palette--gray-700: #374151;
    --custom--palette--gray-800: #1f2937;
    --custom--palette--gray-900: #111827;

    --custom--palette--orange-50: #fff7ed;
    --custom--palette--orange-100: #ffedd5;
    --custom--palette--orange-200: #fed7aa;
    --custom--palette--orange-300: #fdba74;
    --custom--palette--orange-400: #fb923c;
    --custom--palette--orange-500: #f97316;
    --custom--palette--orange-600: #ea580c;
    --custom--palette--orange-700: #c2410c;
    --custom--palette--orange-800: #9a3412;
    --custom--palette--orange-900: #7c2d12;

    --custom--palette--blue-50: #eff6ff;
    --custom--palette--blue-100: #dbeafe;
    --custom--palette--blue-200: #bfdbfe;
    --custom--palette--blue-300: #93c5fd;
    --custom--palette--blue-400: #60a5fa;
    --custom--palette--blue-500: #3b82f6;
    --custom--palette--blue-600: #2563eb;
    --custom--palette--blue-700: #1d4ed8;
    --custom--palette--blue-800: #1e40af;
    --custom--palette--blue-900: #1e3a8a;

    --custom--palette--red-50: #fef2f2;
    --custom--palette--red-100: #fee2e2;
    --custom--palette--red-200: #fecaca;
    --custom--palette--red-300: #fca5a5;
    --custom--palette--red-400: #f87171;
    --custom--palette--red-500: #ef4444;
    --custom--palette--red-600: #dc2626;
    --custom--palette--red-700: #b91c1c;
    --custom--palette--red-800: #991b1b;
    --custom--palette--red-900: #7f1d1d;

    --custom-global--border--Color: var(--custom--palette--gray-300);

    --custom-global--link--Color: var(--custom--palette--orange-700);
    --custom-global--link--Color--hover: var(--custom--palette--orange-900);

    --custom-button--default--BackgroundColor: var(--custom--palette--gray-500);
    --custom-button--default--hover--BackgroundColor: var(--custom--palette--gray-700);

    --custom-button--primary--BackgroundColor: var(--custom--palette--gray-500);
    --custom-button--primary--hover--BackgroundColor: var(--custom--palette--gray-700);
}

html {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
}

a {
    color: var(--custom-global--link--Color);
    text-decoration: none;
}

a:hover {
    color: var(--custom-global--link--Color--hover);
}

.login {
    background-color: var(--custom--palette--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

.login-container {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
    border: solid 1px var(--custom-global--border--Color);
    padding: 40px;
    border-radius: 6px;
    background-color: white;
    width: 80%;
    margin: 1rem 0;
}

#kc-recovery-codes-settings-form,
.login-form {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
}

.login-header {
    display: none;
}

.login-content-wrapper {
    display: flex;
    flex-direction: column;
}

.login-content-wrapper .subtitle {
    order: 1;
}

.login-button {
    font-size: 0.95rem;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 0.95rem;
}

.login-button:hover {
    cursor: pointer;
}

.login-button--default,
.login-button--default:hover{
    background-color: transparent;
    color: var(--custom--palette--orange-700);
    border: solid 1px var(--custom--palette--orange-700);
}

.login-button--primary {
    background-color: var(--custom-button--primary--BackgroundColor);
}

.login-button--primary:hover {
    background-color: var(--custom-button--primary--hover--BackgroundColor);
}

#kc-content-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
}

#kc-form-login,
#kc-register-form,
#kc-reset-password-form {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
}

.login-form__group,
.login-form__input-wrapper {
    display: flex;
    flex-direction: column;
}

.login-form__input-group {
    display: flex;
}

.login-form__password-visibility-button {
    background-color: transparent;
    border: solid 1px var(--custom-global--border--Color);
    border-left: none;
}

.login-form__password-visibility-icon--show,
.login-form__password-visibility-icon--hide {
    vertical-align: middle;
    text-align: center;
}

.login-form__password-visibility-icon--show:before {
    content: 'visibility';
}

.login-form__password-visibility-icon--hide:before {
    content: 'visibility_off';
}

.login-form__label {
    padding-bottom: 3px;
}

.login-form__input {
    border: solid 1px var(--custom-global--border--Color);
    padding: 0.5rem;
    flex-grow: 1;
}

.login-form__input-error {
    color: var(--custom--palette--red-900);
    font-size: 0.8rem;
    padding-top: 0.25rem;
}

.login-form__buttons {
    padding-top: 1rem;
}

.login-separator{
    border-top: solid 1px var(--custom-global--border--Color);
}

.login-locale__dropdown button {
    border: solid 1px var(--custom-global--border--Color);
    background-color: white;
    padding: 0.6rem 0.95rem;
    font-size: 0.9rem;
}

.login-locale__list {
    display: none;
    position: fixed;
    background-color: white;
    border: solid 1px var(--custom--palette--gray-200);
    box-shadow: 0 .25rem .5rem 0 var(--custom--palette--gray-200), 0 0 .25rem 0 var(--custom--palette--gray-200);
    z-index: 1000;
    margin: 0;
    padding:8px 0;
    min-width: 240px;
}

.login-locale__list-item {
    list-style: none;
}

.login-locale__list-item > a {
    padding: 8px 16px;
    display: inline-block;
    width: 100%;
}

.login-locale__list-item:hover {
    background-color: var(--custom--palette--gray-200);
}

#kc-current-locale-link::after {
    content: '▾';
    font-size: 1rem;
    padding-left: 8px;
}

#kc-current-locale-link[aria-expanded=true]::after {
    content: '▴';
}

label#kc-attempted-username {
    padding: 1.2rem 0;
}

.cl-totp-enable-notification {
    color: var(--custom--palette--orange-700);
}

.select-auth-list {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
}

.recovery-codes-list {
    list-style: none;
}

/* Extra small devices (phones, <576px) */
@media (max-width: 575.98px) {  }

/* Small devices (phones, ≥576px) */
@media (min-width: 576px) { }

/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) {
    .login-container {
        width: 544px;
    }
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) { }

/* Extra large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) { }