﻿@media (min-width: 768px) {
  .vertical-align {
    display: flex;
    align-items: center;
  }
}
.btnDD {
  border: 3px solid #283DB8;
  color: #000;
  padding: 4px 14px;
  font-size: 17px;
  transition: all 0.3s ease;
  width: 100px;
  position: relative;
  left: 43%;
}
.btnDD:hover {
  text-decoration: none;
  color: #000;
  border: 3px solid #6879de;
  box-shadow: inset 0 0 0 2px #6879de;
}
.btnDD:active {
  text-decoration: none;
  color: #000;
}
.btnDD.btnyellow-small {
  font-size: 14px;
  border: 2px solid #283DB8;
}
.btnDD.btnyellow-small:hover {
  border: 2px solid #6879de;
  box-shadow: inset 0 0 0 1px #6879de;
}
#login .login {
  max-width: 600px;
  padding-top: 150px;
  padding-bottom: 150px;
}
#login .login h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 56px;
  font-weight: 200;
  font-size: 49px;
  position: relative;
}
#login .login h2:after {
  content: '';
  width: 90px;
  height: 3px;
  background: #283DB8;
  position: absolute;
  bottom: -17px;
  left: 50%;
  margin-left: -45px;
}
#login .login p.sub-heading {
  padding: 0 20px;
}
#login .btnyellow {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin-bottom: 60px;
  top: 25px;
  background-color: transparent;
}
#login .alert {
  width: 497px;
  margin: auto;
  margin-bottom: 20px;
  padding: 7px 12px;
}
#login .alert .fa {
  margin-right: 7px;
}
#login .box {
  border: 1px solid #ebebeb;
  background: #f5f5f5;
  padding: 16px;
  position: relative;
  font-size: 18px;
  padding-left: 50px;
  margin: 20px;
}
#login .box .icon {
  background: #000;
  color: #283DB8;
  border-radius: 50%;
  font-size: 14px;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 19px;
  left: 16px;
  padding-left: 5.5px;
}
#login .login-input {
  margin-bottom: 15px;
  display: inline-block;
  vertical-align: top;
  padding: 0 20px;
  width: 100%;
}
#login .login-input input {
  width: 100%;
}
#login .login-input .label {
  color: #515151;
  font-size: 16px;
  font-weight: 400;
  margin-left: 0;
  padding-left: 0;
}
#login .login-input .input-icon .form-control {
  border-right: 0;
  border-radius: 0;
}
#login .login-input .input-icon .input-group-addon {
  background-color: #283DB8;
  color: #000;
  border: 0;
  border-radius: 0;
}
#login .login-input .input-group {
  width: 100%;
}
#login .login-input .input-link {
  text-decoration: underline;
  font-size: 12px;
}
#login .login-input .input-radio {
  padding: 4px;
}
#login .login-input .input-radio label {
  font-weight: 400;
  margin-right: 10px;
  font-size: 14px;
}
#login .login-input .input-radio label input {
  margin-right: 5px;
}
#login .login-input .input-boxes .box {
  display: inline-block;
  vertical-align: top;
}
#login .login-input .input-boxes .box input {
  display: block;
  width: 50px;
}
#login .login-input .input-boxes .box .label {
  font-size: 9px;
  text-align: center;
  width: 50px;
  display: block;
  padding-right: 0;
}
#login .login-input .input-boxes .sep {
  display: inline-block;
  vertical-align: top;
  padding: 5px;
}
#login .links {
  text-align: center;
  position: relative;
  top: 58px;
}
#login .links a {
  display: block;
}
.navbar-nav.align-items-center {
  align-items: center;
}
.tenant-selector {
  display: flex;
  align-items: center;
}
.tenant-label {
  color: #283DB8;
  font-weight: 600;
  margin-right: 10px;
  white-space: nowrap;
}
#tenantDropdown .spinner-border {
  margin-left: 5px;
  vertical-align: middle;
}
.dropdown-toggle::after {
  margin-left: 0.5em;
}
.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #007bff;
  color: white;
}
/* Adjustments for smaller screens */
@media (max-width: 576px) {
  .navbar-nav.align-items-center {
    flex-direction: column;
    align-items: flex-start;
  }
  .tenant-selector {
    margin-bottom: 0.5rem;
  }
  .tenant-label {
    margin-bottom: 0.5rem;
  }
}
.profile-icon {
  font-size: 24px;
  color: #283DB8;
  cursor: pointer;
  position: relative;
}
/* Add this to your existing media query for smaller screens */
@media (max-width: 576px) {
  .profile-icon {
    margin-bottom: 0.5rem;
  }
}
.profile-dropdown {
  position: relative;
  cursor: pointer;
}
.profile-icon-username {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-icon {
  font-size: 1.5rem;
  color: #283DB8;
}
.username {
  color: #283DB8;
  font-weight: 500;
}
.dropdown-arrow {
  color: #283DB8;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.profile-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}
.profile-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 150px;
  padding: 8px 0;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.profile-menu-item:hover {
  background-color: #f5f5f5;
}
.menu-icon {
  width: 16px;
  text-align: center;
}