body {
    font-family: "Inter", sans-serif;
    margin: 0;
    background-color: #ffffff;
}
  
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    color: white;
    height: 70px;
    padding: 1rem 2rem;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}
  
.header-center {
    flex-grow: 1;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
}
  
.header-right {
    justify-content: flex-end;
}

#kc-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    align-items: top;
}

.login-box {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    width: 400px;
}

.kc-form-group {
    margin-bottom: 15px;
}
  
.kc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
  
.kc-form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
  
.kc-button {
    width: 100%;
    background-color: #171717;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}
  
.kc-button:hover {
    background-color: #333333;
}

/* Same look for the link-shaped buttons (error / info / logout pages). */
a.kc-button {
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 15px;
    padding-left: 60px;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo__title,
.logo__subtitle {
    font-family: "Roboto Slab", serif;
    font-weight: normal;
    text-decoration: none;
    color: #000;
}

.logo__title {
    font-size: 26px;
}

.logo__subtitle {
    font-size: 14px;
}

.kc-feedback-wrapper {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 10px;
    pointer-events: none;
}

.kc-feedback {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    pointer-events: auto;
}

.kc-feedback.error {
    color: #b30000;
}

.kc-feedback.warning {
    color: #9a6b00;
}

.kc-feedback.success {
    color: #006600;
}

.kc-links {
    text-align: center;
    margin-top: 15px;
}

.kc-links.kc-links-top {
    margin-top: 0;
    margin-bottom: 20px;
}

.kc-links a {
    color: #094dad;
    text-decoration: none;
}

.kc-links a:hover {
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.remember-me label {
    font-weight: 200;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin-bottom: 10px;
}

/* --- password field with show/hide toggle --- */
.kc-password-wrapper {
    position: relative;
    width: 100%;
}

.kc-password-wrapper input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 40px;
}

.kc-password-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
}

.kc-password-toggle:hover {
    color: #171717;
}

.kc-password-toggle:focus-visible {
    outline: 2px solid #094dad;
    outline-offset: 1px;
    border-radius: 4px;
}

/* eye = "click to show", eye-off = "click to hide" (shown while revealed) */
.kc-password-toggle .icon-eye-off,
.kc-password-toggle[aria-pressed="true"] .icon-eye {
    display: none;
}

.kc-password-toggle[aria-pressed="true"] .icon-eye-off {
    display: block;
}

/* --- language switcher (centered under the logo) --- */
.kc-locale {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.kc-locale-btn {
    padding: 4px 8px;
    border-radius: 4px;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.kc-locale-btn:hover {
    background-color: #f0f0f0;
    color: #171717;
}

.kc-locale-btn.active {
    background-color: #171717;
    color: #ffffff;
}

.kc-error {
    display: block;
    margin-top: 5px;
    color: #b30000;
    font-size: 0.85rem;
}
