/*
---------------------------------------------------------------------
                 _                        _         _ _            
                | |                      | |       | (_)            
   ___ _   _ ___| |_ ___  _ __ ___    ___| |_ _   _| |_ _ __   __ _ 
  / __| | | / __| __/ _ \| '_ ` _ \  / __| __| | | | | | '_ \ / _` |
 | (__| |_| \__ \ || (_) | | | | | | \__ \ |_| |_| | | | | | | (_| |
  \___|\__,_|___/\__\___/|_| |_| |_| |___/\__|\__, |_|_|_| |_|\__, |
                                               __/ |           __/ |
                                              |___/           |___/ 
---------------------------------------------------------------------
*/


/* Main Colour Variables for Login Screen */

:root {
    --DefaultText: #555555;
    /* Hyperlink: Text  */
    --LinkText: #555555;
    /* Hyperlink: Hover  */
    --LinkTextHover: #D5202E;
    /* Input: Background  */
    --InputBackground: #97979773;
    /* Input: Border  */
    --InputBorder: #35353563;
    /* Button: Background  */
    --ButtonBackground: #D5202E;
    /* Button: Background Hover */
    --ButtonBackgroundHover: #D5202E;
    /* Button: Border  */
    --ButtonBorder: #D5202E;
    /* Button: Border Hover */
    --ButtonBorderHover: #D5202E;
    /* Button: Text  */
    --ButtonText: #ffffff;
    /* Button: Text Hover */
    --ButtonTextHover: #ffffff;
}

/* Database Dropdown */

.ddlDatabases {
  background: rgba(0, 0, 0, 0.05);
  border: 2px solid #00ffff;
  color: #ffffff;
  padding: 8px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
  appearance: none; /* hide default dropdown arrow */
}

.ddlDatabases:focus {
    background: rgba(0, 0, 0, 0.8);  /* Maintain black background */
    color: #ffffff;  /* Ensure text remains white */
    border-color: #D5202E;  /* Optionally add hover effect for focus */
}

.ddlDatabases::-ms-expand {
    background-color: transparent; /* Remove default arrow */
}

.strokeme {
    color: red;
    background-color: red;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* Login Page Body */

body.nuq-login {
    width: 100% !important;
    height: 100% !important;
    background: #ffffff; /* or any full-page color */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}



/* Body Font */

body.nuq-login b {
    font-weight: normal !important;
}


/* Login Input Fields */


/* Browser Autofill For Username & Password */

.nuq-login-window .dxeEditArea_Office2010Blue,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid var(--InputBorder) !important;
    -webkit-text-fill-color: var(--DefaultText) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0) inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
    color: var(--DefaultText) !important;
}


/* Username/Login Input Field */

#userName.ui-widget.ui-widget-content.ui-corner-all {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}

#userName.ui-widget.ui-widget-content.ui-corner-all::selection {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}


/* Password Input Field */

#password.ui-widget.ui-widget-content.ui-corner-all {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}


/* New Password Input Field */

#newPassword.ui-widget.ui-widget-content.ui-corner-all {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}


/* New Password Label */

#lblnewPassword {
    font-weight: normal !important;
}


/* Confirm New Password Input Field */

#confirmPassword.ui-widget.ui-widget-content.ui-corner-all {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}


/* Confirm New Password Label */

#lblconfirmPassword {
    font-weight: normal !important;
}

.iCheck-helper {
    background: transparent !important;
}

.icheckbox_minimal-blue,
.iradio_minimal-blue {
    -webkit-background-size: 200px 20px;
    background-size: 200px 20px;
}

/* Username/Login Input Field */

#userName.ui-widget.ui-widget-content.ui-corner-all {
    background: var(--InputBackground) !important;
    color: var(--DefaultText) !important;
    border-color: var(--InputBorder);
    border-radius: 15px 15px 15px 15px !important;
}

/* Focus State */

input:focus, textarea:focus, select:focus {
    border-color: #D5202E;
    outline: none;
}


/* Focus Visible State (For accessibility) */
input:focus-visible, textarea:focus-visible {
    border-color: #00ffff; /* You can choose a color that stands out */
}


/* Content Table */

.nuq-login-window {
    position: absolute;
    top: 50%;
    right: 200px;
    transform: translateY(-50%);
    width: 350px;
    padding: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: var(--DefaultText);
    font-weight: normal;
    z-index: 1;
}

.nuq-login-window::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 12px;
    padding: 2px; /* width of the glowing border */
    background: linear-gradient(135deg, #D5202E, #EFEFEF, #D5202E, #EFEFEF, #EFEFEF);
    background-size: 400% 400%;
    animation: glowBorder 6s ease infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}




/* Middle Table Column (between label and Input Fields) */

.nuq-login-window .pr {
    width: 0px !important;
}


/* Company Logo  */

img[src="Images/nuq_LogoNew.png"] {
    padding: 0 0 20px 0;
}

.xxxx {
    background-color: #293846;
    background-color: #1637AD;
    background-color: #a7b1c2;
    background-color: #337ab7;
    background-color: #676a6c;
    background-color: #676a6c;
}



/* Login Button  */

#butLogin {
    font-size: 15px;
    padding: 3% 17% 10% 6% !important;
    /* padding: 4% 22% 13% 8% !important; */
    /* padding: 8px 3px 8px 3px !important; */
    border-radius: 15px 15px 15px 15px;
    font-weight: normal !important;
    border: 15px 15px 15px 15px solid var(--ButtonBorder) !important;
    color: var(--ButtonText) !important;
    cursor: pointer;
    text-decoration: none;
    background: var(--ButtonBackground) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
}


/* Login Button Hover */

#butLogin:hover {
    /* border: 15px 15px 15px 15pxsolid #f57b00 !important;
    color: #f57b001e !important;
    background-color: #f57b001e !important; */
    border: 15px 15px 15px 15px solid var(--ButtonBorderHover) !important;
    color: var(--ButtonTextHover) !important;
    background-color: var(--ButtonBackgroundHover) !important;
    transform: translateY(-1px);
}

@keyframes glowBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}