/* AICON Design System 2025-10-30 over the Keycloak admin console (PatternFly v5), fp05-00. */
@font-face {
    font-family: "Pretendard Variable";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/PretendardVariable.woff2") format("woff2");
}

:root {
    --aicon-gray-100: #f7f9fc;
    --aicon-gray-200: #e6eaed;
    --aicon-gray-300: #ced3d7;
    --aicon-gray-600: #676a6d;
    --aicon-gray-900: #1d1e1e;
    --aicon-brand-100: #edf5fa;
    --aicon-brand-200: #acdcff;
    --aicon-brand-600: #137eca;
    --aicon-brand-700: #0562a4;
    --aicon-brand-800: #01497c;
    --aicon-brand-900: #003153;
    --aicon-error-600: #ce1033;
    --aicon-success-700: #04a655;
    --aicon-warning-600: #ce7c10;

    --pf-v5-global--FontFamily--text: "Pretendard Variable", sans-serif;
    --pf-v5-global--FontFamily--heading: "Pretendard Variable", sans-serif;
    --pf-v5-global--FontFamily--redhat-updatedfontsizing--sans-serif: "Pretendard Variable", sans-serif;
    --pf-v5-global--FontFamily--heading--sans-serif: "Pretendard Variable", sans-serif;
    --pf-v5-global--FontFamily--sans-serif: "Pretendard Variable", sans-serif;

    --pf-v5-global--primary-color--100: var(--aicon-brand-700);
    --pf-v5-global--primary-color--200: var(--aicon-brand-800);
    --pf-v5-global--primary-color--dark-100: var(--aicon-brand-600);
    --pf-v5-global--primary-color--light-100: var(--aicon-brand-200);
    --pf-v5-global--link--Color: var(--aicon-brand-700);
    --pf-v5-global--link--Color--hover: var(--aicon-brand-800);
    --pf-v5-global--active-color--100: var(--aicon-brand-700);
    --pf-v5-global--active-color--200: var(--aicon-brand-100);
    --pf-v5-global--active-color--300: var(--aicon-brand-600);
    --pf-v5-global--danger-color--100: var(--aicon-error-600);
    --pf-v5-global--success-color--100: var(--aicon-success-700);
    --pf-v5-global--warning-color--100: var(--aicon-warning-600);
    --pf-v5-global--BorderRadius--sm: 8px;
    --pf-v5-global--BorderRadius--lg: 16px;
    --pf-v5-global--BackgroundColor--200: var(--aicon-gray-100);
    --pf-v5-global--BorderColor--100: var(--aicon-gray-200);
    --pf-v5-global--Color--100: var(--aicon-gray-900);
    --pf-v5-global--Color--200: var(--aicon-gray-600);

}

/* Header and sidebar navigation follow guide pp.25-26: white header, light sidebar, gray selected pill. */
.pf-v5-c-masthead {
    --pf-v5-c-masthead--BackgroundColor: #fff;
    --pf-v5-c-masthead--m-display-inline--BackgroundColor: #fff;
    --pf-v5-c-masthead--Color: var(--aicon-gray-900);
    border-bottom: 1px solid var(--aicon-gray-200);
    color: var(--aicon-gray-900);
}

.pf-v5-c-masthead .pf-v5-c-button.pf-m-plain,
.pf-v5-c-masthead .pf-v5-c-menu-toggle {
    color: var(--aicon-gray-900);
    --pf-v5-c-menu-toggle--Color: var(--aicon-gray-900);
}

.pf-v5-c-masthead .pf-v5-c-menu-toggle.pf-m-plain:hover {
    background: var(--aicon-gray-100);
}

.pf-v5-c-page__sidebar {
    --pf-v5-c-page__sidebar--BackgroundColor: var(--aicon-gray-100);
    --pf-v5-c-page__sidebar--BoxShadow: none;
    background-color: var(--aicon-gray-100);
    border-right: 1px solid var(--aicon-gray-200);
    color: var(--aicon-gray-900);
}

.pf-v5-c-page__sidebar .pf-v5-c-nav {
    --pf-v5-c-nav--BackgroundColor: transparent;
    --pf-v5-c-nav__link--Color: var(--aicon-gray-900);
    --pf-v5-c-nav__link--hover--Color: var(--aicon-gray-900);
    --pf-v5-c-nav__link--m-current--Color: var(--aicon-gray-900);
    --pf-v5-c-nav__link--active--Color: var(--aicon-gray-900);
    --pf-v5-c-nav__link--focus--Color: var(--aicon-gray-900);
    --pf-v5-c-nav__link--hover--BackgroundColor: var(--aicon-gray-200);
    --pf-v5-c-nav__link--m-current--BackgroundColor: var(--aicon-gray-200);
    --pf-v5-c-nav__link--active--BackgroundColor: var(--aicon-gray-200);
    --pf-v5-c-nav__link--focus--BackgroundColor: var(--aicon-gray-200);
    --pf-v5-c-nav__link--before--BorderColor: transparent;
    --pf-v5-c-nav__link--after--BorderColor: transparent;
    --pf-v5-c-nav__link--hover--after--BorderColor: transparent;
    --pf-v5-c-nav__link--m-current--after--BorderColor: transparent;
    --pf-v5-c-nav__section-title--Color: var(--aicon-gray-600);
    --pf-v5-c-nav__section-title--BorderBottomColor: var(--aicon-gray-200);
    --pf-v5-c-nav__item--before--BorderColor: var(--aicon-gray-200);
    --pf-v5-c-nav__scroll-button--Color: var(--aicon-gray-900);
}

.pf-v5-c-page__sidebar .pf-v5-c-nav__link {
    margin: 2px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.pf-v5-c-page__sidebar .pf-v5-c-nav__link.pf-m-current {
    font-weight: 600;
}

.pf-v5-c-page__sidebar .pf-v5-c-nav__section-title {
    font-size: 12px;
    font-weight: 600;
}

.pf-v5-c-page__sidebar,
.pf-v5-c-page__sidebar .pf-v5-c-nav,
.pf-v5-c-page__sidebar .pf-v5-c-page__sidebar-body {
    --pf-v5-global--Color--100: var(--aicon-gray-900);
    --pf-v5-global--Color--200: var(--aicon-gray-600);
}

.pf-v5-c-page__sidebar .pf-v5-c-label {
    --pf-v5-c-label--BackgroundColor: var(--aicon-brand-100);
    --pf-v5-c-label--Color: var(--aicon-brand-800);
}

.pf-v5-c-page__sidebar .pf-v5-c-menu-toggle,
.pf-v5-c-page__sidebar .pf-v5-c-dropdown__toggle {
    color: var(--aicon-gray-900);
}

body,
#app {
    font-family: "Pretendard Variable", sans-serif;
}

.keycloak__loading-container {
    color: var(--aicon-brand-900);
    background-color: var(--aicon-brand-100);
}

.keycloak__pageheader_brand {
    height: 32px;
    width: auto;
}

.pf-v5-c-button.pf-m-primary {
    --pf-v5-c-button--m-primary--BackgroundColor: var(--aicon-brand-700);
    --pf-v5-c-button--m-primary--hover--BackgroundColor: var(--aicon-brand-800);
    --pf-v5-c-button--m-primary--focus--BackgroundColor: var(--aicon-brand-800);
    --pf-v5-c-button--m-primary--active--BackgroundColor: var(--aicon-brand-900);
}

.pf-v5-c-button {
    --pf-v5-c-button--BorderRadius: 8px;
}

.pf-v5-c-form-control {
    --pf-v5-c-form-control--BorderRadius: 8px;
}

:is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--aicon-brand-200);
    outline-offset: 2px;
}

.pf-v5-c-page__main-section.pf-m-light {
    background-color: #fff;
}

.pf-v5-c-page__main {
    background-color: var(--aicon-gray-100);
}

.pf-v5-c-card {
    --pf-v5-c-card--BorderRadius: 16px;
    border: 1px solid var(--aicon-gray-200);
    box-shadow: none;
}

.pf-v5-c-tabs__link {
    font-weight: 600;
}

.pf-v5-c-title {
    letter-spacing: -0.01em;
}