﻿:root {
    --site-padding: 0.75rem;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .custom-file, .input-group > .custom-select, .input-group > .form-control {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.loading-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

.loading-overlay-icon {
    width: 100px;
    height: 100px;
}

.overlay-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay-hidden {
    display: none;
}

.site-body {
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

.blur-on {
    transition: none;
    filter: blur(50px);
}
.blur-off {
    transition: filter 1s;
    filter: blur(0);
}

.navbar {
    padding: 16px;
}

.navbar-expand {
    color: #adadad;
    cursor: pointer;
}

.main-navbar-expand {
    z-index: 1000;
    width: 24px;
    justify-content: center;
}

.navbar-expand:hover {
    color: #e9ecef;
}
.navbar-expanded {
    transform: rotate(180deg);
}
.mobile-welcome {
    display: none;
    flex-direction: column;
}
.global-notification-box {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.global-notification-box-content-container {
    display: flex;
    justify-content: space-between;
    background: var(--bs-warning);
    width: 80%;
    padding: var(--site-padding);
}
.global-notification-box-content {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
}
.global-notification-box-content-delete {
    display: flex;
    justify-content: center;
    align-items: center;
}
.global-notification-box-content-text {
    hyphens: auto;
}

@media only screen and (max-width: 575px) {
    .dashboard {
        display: none;
    }
    .mobile-welcome {
        display: flex;
    }
    .global-notification-box {
        justify-content: end;
    }
}


.login-page {
    
    background-image: url("images/NeruScopeBG.jpg");
    background-size: cover;
    width: 100%;
    height: 100%;
}
.login-page-card {
    background: #102234;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
}

    .login-page-card .form-control {
        background-color: #EEE;
        color: #102234;
        border-color: #102234;
        /*background: none !important;*/
    }


.login-page-card-icon {
    height: 32px;
    width: 32px;
    background: none;
    padding: 5px;
    color: #102234;
}

.log-in-button {
    cursor: pointer;
    height: auto;
    font-weight: 400;
    font-size: 14px;
    color: #adadad;
    display: flex;
    align-items: center;
    border: 1px solid #102234;
    white-space: nowrap;
    background: none;
}

.log-in-button:hover {
    border: 1px solid #d1d1d1;
    color: #d1d1d1;
}

.neruscope-logo {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("images/logo.png");
    width: 100px;
    height: 100px;    
}


/*linear-gradient(0deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);*/
.login-page-card {
    background: linear-gradient(0deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    padding: 2rem;
}

.login-header {
    border-bottom: 1px solid rgba(16, 34, 52, 0.2);
    padding-bottom: 10px;
}

.neruscope-logo {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("images/logo.png");
    width: 60px;
    height: 60px;
}

.login-text {
    font-size: 1.4rem;
    color: #102234;
    font-weight: 500;
    margin-left: 80px; /* aligns "Login" roughly under NeruScope */
}

.neruscope-title {
    font-size: 1.8rem;
    color: #102234;
    font-weight: 700;
}

.log-in-button {
    background-color: #102234;
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(16, 34, 52, 0.3);
}

    .log-in-button:hover {
        background-color: #1d3d5d;
        box-shadow: 0 6px 16px rgba(16, 34, 52, 0.4);
        transform: translateY(-1px);
    }

    .log-in-button:active {
        background-color: #0c1b2b;
        /*transform: translateY(0);*/
    }


.forgot-password {
    color: #102234;
    font-size: 0.9rem;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-page-card .form-control {
    width: 320px; /* try 320–400px for comfort */
    max-width: 90%; /* prevents overflow on small screens */
}