html,
body {
  height: 100%;
}

.form-signin {
  max-width: 430px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-control-dark {
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle:not(:focus) {
  outline: 0;
}
#phonetab, #emailtab, .frontform{
padding: 20px;
background: #fff;
border: 1px solid #dee2e6;
border-top: 0px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
.frontform{
border-top: 1px solid #dee2e6;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
#phone_number{
height: calc(3.5rem + calc(var(--bs-border-width) * 2));
min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
line-height: 1.25;
width: 100%;
}
.iti{
width: 100%;
}
#code{
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
.ssb{
	padding: 1rem 1rem;
}
ul.sub a.active{
	background-color: #ccc !important;
	border-radius: 6px;
}

#loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
  text-align: center;
}

#loading-image {
  position: absolute;
  top: 100px;
  left: 240px;
  z-index: 100;
}

 .message {
        margin-top: 15px;
        padding: 10px;
        border-radius: 4px;
    }

    .message.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .message.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .message.info {
        background-color: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }
.pw-reset input[type="password"] {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.pw-reset-req input[type="text"] {
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
/* Lang bar nav */

		:root {
			    --primary-50: #f0f9ff;
			    --primary-100: #e0f2fe;
			    --primary-200: #bae6fd;
			    --primary-300: #7dd3fc;
			    --primary-400: #38bdf8;
			    --primary-500: #0ea5e9;
			    --primary-600: #0284c7;
			    --primary-700: #0369a1;
			    --primary-800: #075985;
			    --primary-900: #0c4a6e;

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

			.navbar {
			    background-color: white !important;
			    border-bottom: 1px solid var(--surface-200);
			    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
			}

			.navbar-brand {
			    font-weight: 600;
			    color: var(--surface-900) !important;
			    font-size: 1.25rem;
			}

			.language-switcher .btn {
			    background-color: white;
			    border: 1px solid var(--surface-300);
			    color: var(--surface-700);
			    border-radius: 0.5rem;
			    padding: 0.5rem 1rem;
			    font-weight: 500;
			    transition: all 0.2s ease;
			    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
			}

			.language-switcher .btn:hover {
			    background-color: var(--surface-50);
			    border-color: var(--primary-500);
			    color: var(--primary-600);
			}

			.language-switcher .btn:focus {
			    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
			    border-color: var(--primary-500);
			}

			.dropdown-menu {
			    border: 1px solid var(--surface-200);
			    border-radius: 0.5rem;
			    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
			    padding: 0.5rem;
			    margin-top: 0.25rem;
			}

			.dropdown-item {
			    border-radius: 0.375rem;
			    padding: 0.5rem 0.75rem;
			    transition: all 0.15s ease;
			    font-weight: 500;
			    color: var(--surface-700);
			}

			.dropdown-item:hover {
			    background-color: var(--surface-50);
			    color: var(--surface-900);
			}

			.dropdown-item.active {
			    background-color: var(--primary-50);
			    color: var(--primary-600);
			}

			.flag-icon {
			    font-size: 1.1em;
			    margin-right: 0.5rem;
			}