﻿.navbar-header {
  position: relative;
  top: -4px;
}
.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
}
.icon {
  position: relative;
  top: -10px;
}
.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}
.page-consent .client-logo {
  float: left;
}
.page-consent .client-logo img {
  width: 80px;
  height: 80px;
}
.page-consent .consent-buttons {
  margin-top: 25px;
}
.page-consent .consent-form .consent-scopecheck {
  display: inline-block;
  margin-right: 5px;
}
.page-consent .consent-form .consent-description {
  margin-left: 25px;
}
.page-consent .consent-form .consent-description label {
  font-weight: normal;
}
.page-consent .consent-form .consent-remember {
  padding-left: 16px;
}
.grants .page-header {
  margin-bottom: 10px;
}
.grants .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray;
}
.grants .grant img {
  width: 100px;
  height: 100px;
}
.grants .grant .clientname {
  font-size: 140%;
  font-weight: bold;
}
.grants .grant .granttype {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .created {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .expires {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant li {
  list-style-type: none;
  display: inline;
}
.grants .grant li:after {
  content: ', ';
}
.grants .grant li:last-child:after {
  content: '';
}
.login-page .form-group .password-input-wrapper {
    position: relative;
}
.login-page .form-group .password-input-wrapper input.form-control {
    padding-right: 45px;
}
.login-page .form-group .password-input-wrapper .password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    background: none;
    border: none;
    padding: 5px;
    color: #6c757d;
    z-index: 999;
    display: inline-block;
    line-height: 1;
}
.login-page .form-group .password-input-wrapper .password-toggle-btn:focus {
    outline: none;
}
/* Disable standard - Microsoft Edge - password revealer */
input[type="password"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}
body {
    background-color: #F0F0F0;
}
.body-container {
    margin-top: 2rem;
}
.flexible-container {
    min-width: 340px;
    max-width: 460px;
    width: 100%;
    margin: 0 2rem;
}
.divider-line {
    border-top: 2px solid #e5e5e5;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.provider-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px
}
.opt-input {
    width: 2.5rem;
    margin-right: 1rem;
}
.opt-input:last-child {
    margin-right: 0;
}
.opt-separator {
    min-width: 0.5rem;
    max-width: 2rem;
    width: 100%;
}
h6 {
    margin-bottom: 0;
}
.clickable-text {
    text-decoration: underline;
    cursor: pointer;
}

/* Overwrite default bootstrap modal width */
@media (min-width: 576px) {
    .modal-dialog.wide-modal-dialog {
        max-width: 60%;
    }
}
}

/* ===== Language switcher ===== */
.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-switcher-toggle {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.language-switcher-toggle:hover,
.language-switcher-toggle:focus {
    background-color: rgba(0, 0, 0, 0.08);
    outline: none;
}

.language-switcher .flag-icon {
    width: 32px;
    height: auto;
    border-radius: 2px;
    display: block;
}

.language-switcher .flag-icon-sm {
    width: 22px;
    flex-shrink: 0;
}

.language-dropdown-menu {
    min-width: 160px;
    padding: 4px 0;
}

.language-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.language-dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}
