/* General styles for the login views 
    Brande 2026
*/
:root {
  --login-color-accent:    #C1D0CC;
  --login-color-dark:      #131413;
  --login-color-light:     #C3D0C1;
  --login-color-highlight: #ECE7EF;
  --login-paragraph-color: #323232;    
  --login-primary-color:   #FFF; 
  --login-alert-text: #db2020;
  --login-border: 1px solid #E6E6E9;

  /* Input-specific tokens */
  --input-bg:              #ffffff;
  --input-border:          #D4DDD9;
  --input-border-focus:    #8FAAA3;
  --input-shadow-focus:    rgba(193, 208, 204, 0.45);
  --input-placeholder:     #9BADA8;
  --input-text:            #2A2E2D;
  --input-radius:          5px;
  --input-height:          42px;
}

/*  Layout  */
.landing-box-for-login {
    display: flex;
    margin: 6.2em auto;
    padding: 0 clamp(30px, 8%, 210px);
}
.loginbox {
    box-sizing: border-box;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;    
    padding: clamp(1.25rem, 0.4167rem + 4.1667vw, 3rem);
    background-color: var(--login-color-light);
    border-radius: 8px;
    box-shadow: 2px 5px 9px 4px #13141314;
}
/*  Headings & labels */
.loginbox h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--login-color-dark);
    margin-bottom: 1.4rem;
    letter-spacing: -0.01em;
}
.loginbox p {
    font-size: clamp(0.9375rem, 0.8125rem + 0.625vw, 1.125rem);
        font-weight: 400;
    color: var(--login-color-dark);
}

.loginbox label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--login-paragraph-color);
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.loginbox label small {
    font-size: 90%;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}
.passField {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.loginbox input[type="password"],
.loginbox input[type="text"] {
    width: 100%;
    height: var(--input-height);
    padding: 0 2.8rem 0 1.1rem;     
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: var(--input-radius);
    font-size: 0.97rem;
    color: var(--input-text);
    outline: none;
    transition:
        border-color 0.22s ease,
        box-shadow   0.22s ease,
        background   0.22s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.loginbox input[type="password"]::placeholder,
.loginbox input[type="text"]::placeholder {
    color: var(--input-placeholder);
    font-style: italic;
}
/* Focus state */
.loginbox input[type="password"]:focus,
.loginbox input[type="text"]:focus {
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 3.5px var(--input-shadow-focus);
    background: #fdfffd;
}
/* Hover state (unfocused) */
.loginbox input[type="password"]:not(:focus):hover,
.loginbox input[type="text"]:not(:focus):hover {
    border-color: #BACEC8;
    background: #f9fbfa;
}

/*  Eye-toggle icon pure CSS  */
.passField .fa {
    position: absolute;
    right: 0.95rem;
    width: 22px;
    height: 22px;
    cursor: pointer;
    user-select: none;
    z-index: 2;
    color: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.passField .fa::before {
    content: none !important;
}
.passField .fa-eye-slash::after,
.passField .fa-eye::after {
    content: '';
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    background: none;
    border-radius: 50%;
    box-shadow:
        0 0 0 1.8px transparent;
}
/* eye-slash = password hidden (default state) */
.passField .fa-eye-slash {
    background-color: var(--input-placeholder);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.18s ease;
}
/* eye = password visible (toggled state) */
.passField .fa-eye {
    background-color: var(--input-border-focus);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.18s ease;
}
.passField .fa-eye-slash:hover {
    background-color: var(--input-border-focus);
}
.passField .fa-eye:hover {
    background-color: #476F68;
}
/*  Submit button  */

.loginbox input[type="submit"],
.loginbox .submitButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--input-height);
    padding: 0 2.2rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #7A9E97 0%, #5C8880 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--input-radius);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(92, 136, 128, 0.35);
    transition:
        background   0.22s ease,
        box-shadow   0.22s ease,
        transform    0.12s ease;
    -webkit-appearance: none;
    appearance: none;
}
.loginbox input[type="submit"]:hover,
.loginbox .submitButton:hover {
    background: linear-gradient(135deg, #5C8880 0%, #476F68 100%);
    box-shadow: 0 5px 16px rgba(92, 136, 128, 0.45);
}
.loginbox input[type="submit"]:active {
    box-shadow: 0 2px 6px rgba(92, 136, 128, 0.3);
}
.loginbox .alert {
      color: var(--login-alert-text);
}
.foot-texts p {
      font-size: 0.8rem;
      letter-spacing: 0.06em;
}
.foot-texts p a {
      color: var(--login-paragraph-color);
      text-decoration: underline;
}
.foot-texts p a:hover {
      color: var(--login-color-dark);
      text-decoration: none;
}

.users-column-headline-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;

        margin: 1em;
}
.users-column-headline-with-icon::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='8'/%3E%3Cline x1='12' y1='12' x2='12' y2='16'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
/* User columns and boxes */
.logged-in-user-frame { 
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 80px);
}	
.logged-in-user-left-col  { 
	width: 0;
	}
.logged-in-right-col { 
	width: 100%;
	background: #F3F3F3;
}	
.logged-in-user-frame table.users-list {
    width: 100%;
    color: var(--paragraph-color);
    text-align: left;
    border: var(--border);
    display: block;
    overflow: auto;
}
.logged-in-user-frame .users-listing-box {
    max-width: 700px;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
	    margin: 0 2em 2em;
	box-shadow: 1.5px 2.6px 10px rgba(119, 119, 119, 0.1);
    background-color: #FFF;
}
.logged-in-user-frame table.users-list tbody {
    display: table;
    width: 100%;
}
table.logged-in-user-info {
    width: 100%;
    color: var(--paragraph-color);
    text-align: left;
    border: var(--login-border);
    display: block;
    overflow: auto;
}
table.logged-in-user-info tbody {
    display: table;
    width: 100%;
}
table.logged-in-user-info th, table.logged-in-user-info td {
    padding: 1.5em 1em;
    font-weight: 500;
}
table.logged-in-user-info tr:nth-child(even) {
    background-color: var(--login-color-light);
}

.ele-button {
    cursor: pointer;
    text-align: center;
    padding: 1em 1.5em;
    font-size: .85rem;
    border: 1px solid rgb(87 95 86);
        background-color: rgb(87 95 86);
    color: var(--login-primary-color);
        box-sizing: border-box;
}
.ele-button:hover {
    background-color: rgb(104 113 102);
    border: 1px solid rgb(104 113 102);
}
.ele-button.denial {
    border: 1px solid var(--login-paragraph-color);
        background-color: var(--login-paragraph-color);
}
.ele-button.denial:hover {
    border: 1px solid var(--login-color-dark);
        background-color: var(--login-color-dark);
}

.two-fa-popup-wrapper .ele-button {
    width: 100%;
    display: inline-block;
}

.two-fa-popup-wrapper input {
    width: 100%;
}
#popUpContainer {
    padding: 0;
    z-index: 1000;
    position: fixed;
    max-width: 750px;
    transform: translateY(-50%);
    top: 50%;
    background: #FFF;
    opacity: 0;
}
#popUpContainer.showPopUp {
    opacity: 1;
    -webkit-transition: opacity 0.5s ease-in;
    -moz-transition: opacity 0.5s ease-in;
    -ms-transition: opacity 0.5s ease-in;
    -o-transition: opacity 0.5s ease-in;
    transition: opacity 0.5s ease-in;
}
#popUpContainer .popUpOpen {
    display: flex;
    width: 100%;
    max-width: 700px;
    max-height: 700px;
    padding: 1.5rem;
        overflow: auto;
}
#bodyOverlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: default;
}
#bodyOverlay.disabled {
    display: block;
}
.user-logged-in-popup  {
	    background: #f3f3f3;
        width: 100%;
}
.user-logged-in-popup input {
	font-size: .95rem;
   padding: 14px 40px 13px 15px;
	background: var(--login-primary-color);
    border-radius: var(--input-radius);
    width: 100%;
    border: 1px solid rgb(185, 185, 185);
}
.user-logged-in-popup input:focus {
    outline: none;
	border: 1px solid rgb(128, 128, 128);
}