@charset "ISO-8859-1";

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f3f4f6; /* Sophisticated cool-gray backdrop */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input, label, button {
    font-family: inherit;
}

#application-header {
    width: 100%;
}

#product-logo img {
    height: 48px; /* Slightly tighter logo */
}

#login-form {
    position: relative;
}

#company-logo {
    position: absolute;
    top: 5px;
    left: 3px;
}

#client-login-bg-image {
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-position: center center;
    background-size: cover;
}

/* Premium Enterprise Panel */
.login-panel {
    background-color: #ffffff;
    padding: 55px 30px; /* Generous breathing room */
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 6px; /* Sharp, professional corners */
	box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    font-size: 14px;
}

.login-page-container {
    height: 100%;
    width: 100%;
    overflow: auto;
    position: absolute;
    top: 0px;
    left: 0px;
}

#login-form .ui-state-hover-cl-custom {
    box-shadow: none;
}

.tile-container {
    display: flex;
    width: 100%;
    min-height: 133px;
    background: transparent;
    flex-direction: column;
}

.tile-container > div input {
    width: 155px;
}

.tile-container .tile {
    display: none;
    height: auto;
    background: transparent;
    width: 100%;
    flex-direction: column;
}

.tile-container .tile:focus {
    border: 0px solid;
    outline: none;
}

.tile-container .tile label {
    display: block;
    color: #64748b;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Tracked out for premium feel */
    margin-bottom: 8px;
}

.tile-container .active {
    display: flex;
}

.tile-container .tile > div {
    padding-bottom: 16px;
    display: flex;
    width: 100%;
}

.tile-container .tile > div > div {
    width: 50%;
}

.tile-container .tile > div:first-child {
    flex-direction: column;
}

.tile-container .tile > div:last-child {
    padding-top: 24px;
}

.tile-container .tile > span {
    text-align: center;
    padding-bottom: 12px;
}

.tile-container .tile > span > ins {
    text-align: center;
    text-decoration: none;
    color: #475569;
    background: #f8fafc;
    padding: 6px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.tile-container .tile > span > ins:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Substantial, Structured Inputs */
.tile-container .tile input[type=text],
.tile-container .tile input[type=password] {
    width: 100%;
    height: 44px; /* Taller, more clickable area */
    background: #f8fafc;
    box-sizing: border-box;
    padding: 10px 14px;
    caret-color: #2166E5; /* UPDATED: Blue Caret */
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
}

.tile-container .tile input[type=text]:focus,
.tile-container .tile input[type=password]:focus {
    outline: none;
    background: #ffffff;
    border-color: #2166E5; 
    box-shadow: 0 0 0 3px rgba(33, 102, 229, 0.1);
}

/* Loader Base */
.login-loader-overlay:after {
    position: absolute;
    content: "";
    right: 0px; left: 0px; top: 0px; bottom: -30px;
    background: transparent;
    z-index: 0;
}

.login-loader {
    display: inline-block;
    position: absolute;
    width: 76px; height: 45px;
    left: 38%; bottom: 50%;
    z-index: 1;
}

.login-loader div {
    position: absolute;
    top: 27px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #2166E5; 
    -webkit-animation-timing-function: cubic-bezier(0, 1, 1, 0);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.login-loader div:nth-child(1) { left: 6px; animation: loginDotLoader1 0.9s infinite; }
.login-loader div:nth-child(2) { left: 8px; animation: loginDotLoader2 0.9s infinite; }
.login-loader div:nth-child(3) { left: 28px; animation: loginDotLoader2 0.9s infinite; }
.login-loader div:nth-child(4) { left: 53px; animation: loginDotLoader3 0.9s infinite; }

.tile-container button {
    padding: 10px 20px !important;
    font-size: 13px;
    letter-spacing: 0.02em;
    background: #2166E5 !important; 
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px;
    position: absolute;
    cursor: pointer;
    transition: all 0.15s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.tile-container button > span {
    padding: 0px;
}

.tile-container button:hover, 
.tile-container button:focus {
    background: #1A52B8 !important; 
    box-shadow: 0 4px 12px rgba(33, 102, 229, 0.25); 
    outline: none;
    transform: translateY(-1px); 
}

/* Sharp Checkboxes */
.tile-container input[type="checkbox"] {
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: transparent;
    top: -2px;
    transition: all 0.1s ease;
}

.login-panel img:first-child {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px;
}

.tile-container input[type="checkbox"]:disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    opacity: 0.5;
    cursor: not-allowed;
}

.tile-container input[type="checkbox"]:checked {
    background-color: #2166E5 !important; 
    border-color: #2166E5; 
    background: #2166E5 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAHtSURBVFhH7Ze7isJQFEXvTGehtoqF4KMSO7EUOysLW8HKQj/AD/AHBCvBytbOwsbOTkEEwUoQfCKIKNhaZXIzW01uTkx8RIuZBZuQ5OxzdnKTQL4kGfZBvrH9GG8NQN3stwXwer3M4XBg78pbAgQCAbbdbtnpdGJutxtHAX8I7SQcDvP7rpHL5cJZeU2wtYVoNKobftY5hG0BYrEYOVgteWnsCZBIJMiBog6Hw+sDpFIpcpio3W6n1L80QCaTIYeJkt8IOIgAo9FIWq1W2LNOLpcjh4nabDZw/KIJoKwJCo/HI46aUygUNEOMtF6v4bhyCbDf73UG9a0yolQq6XyUFosFHFqUAOorF7VcLpVCinK5THpEzedzOPQw6spFTadTlF+pVCpkrajZbAYHDQuFQqRR1GAwgEWS6vU6WSNqMpnAYYyyBB6Ph2wgqt/vS+12mzwnajweKwPMuDyEPp+PbPSIhsMhupqjeQ39fj/Z8B71ej10s4YmACcYDJKNrajb7aKLdXQBOJFIhBxwS51OB+77IANw4vE4OYhSq9WC634MA3CSySQ5UK1ms4nqx7gZgJNOp8nBXI1GA1WPYxqAk81mdcNrtRrOPoelAJxisXgZzj/Dr+KuX7N8Ps+cTierVqs48jz//4Z/PQBjPw7zAk07QQ7zAAAAAElFTkSuQmCC") center center no-repeat;
    background-size: 10px 12px;
}

.tile-container input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(33, 102, 229, 0.15); 
}

.tile-container a {
    color: #2166E5; 
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tile-container a:hover {
    color: #1A52B8; 
    text-decoration: underline;
}

.email-otp-msg-container {
    color: #475569;
    max-width: 320px;
    padding-top: 35px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

@keyframes loginDotLoader1 { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@-webkit-keyframes loginDotLoader1 { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes loginDotLoader3 { 0% { transform: scale(1); } 100% { transform: scale(0); } }
@-webkit-keyframes loginDotLoader3 { 0% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes loginDotLoader2 { 0% { transform: translate(0, 0); } 100% { transform: translate(20px, 0); } }
@-webkit-keyframes loginDotLoader2 { 0% { transform: translate(0, 0); } 100% { transform: translate(20px, 0); } }

#footer-links {
    margin-bottom: 0%;
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.form-label-bg {
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.caps-lock-notification {
    display: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 12px;
    position: absolute;
    margin-top: 50px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 500;
    color: #dc2626; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.caps-lock-notification:after {
    content: "";
    width: 8px; height: 8px;
    position: absolute;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
    background: white;
    left: 12px; top: -5px;
}

.show-version-details {
    font-size: 11px !important;
    color: #94a3b8;
    letter-spacing: 0.02em;
    text-align: left;
    display: block;
}

.login-page-footer {
    border-top: 1px solid #f1f5f9;
    height: 40px;
    align-items: center;        
    justify-content: center;    
    text-align: center;         
}
.login-page-footer #footer {
    width: 100%;
    justify-content: center;
}

.login-page-footer #footer #footer-links,
.login-page-footer #footer #footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.login-page-footer #footer #footer-links a:hover {
    color: #0f172a;
}

.tile-container .tile > div > div[style*="flex-direction: column"] {
    position: relative !important; 
    display: flex;
    justify-content: center; 
}

input[name="USR_PASSWORD_PARAM"],
input[name="EML_OTP_PARAM"] {
    padding-right: 35px !important; 
}

input[name="USR_PASSWORD_PARAM"] + img,
input[name="EML_OTP_PARAM"] + img {
    position: absolute !important;
    right: 10px;
    top: 50%; 
    transform: translateY(-50%); 
    height: 18px; 
    width: auto;
    cursor: pointer;
    opacity: 0.5;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.tile-container .tile > div > div[style*="flex-direction: column"] > img {
    top: auto;
    bottom: 13px; 
    transform: none;
}

input[name="USR_PASSWORD_PARAM"] + img:hover,
input[name="EML_OTP_PARAM"] + img:hover {
    opacity: 1;
}

/* Container styled as an anchor link */
.Btn-Container {
  display: inline-flex;
  min-width: 170px; 
  height: 45px;
  background-color: #2166E5; /* Your primary blue theme */
  border-radius: 6px; /* Squarish with elegant, slightly rounded corners */
  box-shadow: 0px 4px 12px rgba(33, 102, 229, 0.35); /* Softer, blue-tinted drop shadow */
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
  text-decoration: none; 
  box-sizing: border-box;
  padding-right: 4px; /* Creates a nice border around the white icon box */
  transition: all 0.3s ease; /* Smooth transition for hover */
}

/* Elevates the whole button slightly on hover */
.Btn-Container:hover {
  box-shadow: 0px 6px 16px rgba(33, 102, 229, 0.5);
  transform: translateY(-2px);
  background-color: #1A52B8 ;
}

.icon-Container {
  width: 37px;
  height: 37px;
  background-color: #ffffff; /* White accent background */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* White text */
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0 15px;
  white-space: nowrap; 
}

.icon-Container img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform 0.3s ease; /* Uses transform instead of margin for a smoother look */
}

.Btn-Container:hover .icon-Container img {
  transform: translateX(4px); 
}

#customBtn {
    display: inline-block;
    background: white;
    color: #5b5b5b;
    width: 40px;
    border: 2px solid #5b5b5b;
    white-space: nowrap;
}

#customBtn:hover {
    cursor: pointer;
}

.icon {    
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 35px;
}

.sign-in-with-lbl {
    overflow: hidden;
    text-align: center;
    color: #5b5b5b;
    font-size: 9pt;
}

.sign-in-with-lbl:before,
.sign-in-with-lbl:after {
      background-color: #5b5b5b;
      content: "";
      display: inline-block;
      height: 2px;
      position: initial;
      vertical-align: middle;
      width: 50%;
}

.sign-in-with-lbl:before {
      right: 0.5em;
      margin-left: -50%;
}

.sign-in-with-lbl:after {
      left: 0.5em;
      margin-right: -50%;
}