﻿/* 
    Site-wide CSS styles
    Anything that is only relevant to a specific page should be placed in a subdirectory and not this file
    Anything to override for Artemis should be placed in siteArtemis.css file
*/

html {
    font-size: 12px;
    position: relative;
    min-height: 100vh;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: verdana;
    min-height: 100%;
}

h1, h2, .card-title {
    font-family: Merriweather;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2 !important;
    border-color: #1861ac !important;
}

main.login {
    /*background-image: url('../images/LoginCircles.png');*/
    background-repeat: no-repeat;
    background-size: 25%;
}

.cursor-pointer {
    cursor: pointer;
}

/* HEADER STYLES */
.nav-link, .home-tile-link {
    color: black !important;
    text-decoration: none !important;
}

.topSection {
    display: flex;
    justify-content: space-between;
}

.topSection p, .topSection h1 {
    font-family: Merriweather;
    font-weight: bold;
    font-size: 2em;
    color: #010101;
}
.topSection p #IncidentId {
    font-size: 0.5em;
}

/* END HEADER STYLES */
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: #e9ecef;
    }

#toggle_pwd {
    cursor: pointer;
}

#password[type="password"] {
    letter-spacing: 0.2em;
}

/* Logo shadow */
.logo-shadow {
    -webkit-filter: drop-shadow(0 3px 3px rgba(0,0,0,0.25)) drop-shadow(0 8px 16px rgba(0,0,0,0.10));
    filter: drop-shadow(0 3px 3px rgba(0,0,0,0.25)) drop-shadow(0 8px 16px rgba(0,0,0,0.10));
    
}

/* Nav icon shadows (Font Awesome font or SVG) */
.nav-icon-shadow,
.navbar .nav-link > i.fa,
.navbar .nav-link > i.fad,
.navbar .nav-link > i.fa-duotone,
.navbar .nav-link > svg {
    -webkit-filter: drop-shadow(0 5px 5px rgba(0,0,0,0.25)) drop-shadow(0 10px 10px rgba(0,0,0,0.32));
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.25)) drop-shadow(0 10px 10px rgba(0,0,0,0.32));
    /* Fallback for icon fonts rendered as text */
    text-shadow: 0 5px 5px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.12);
    /* Explicitly disable motion */
    transition: none !important;
}

/* Ensure no hover/active transforms apply from elsewhere */
.navbar .nav-link > i,
.nav-icon-shadow {
    transform: none !important;
}

#Login {
    transition: all 0.2s ease-in-out;
}

    #Login:disabled {
        cursor: not-allowed;
    }

#loginSpinner {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Smooth transitions for spinner elements */
#loginButtonText,
#loginLoadingText,
#loginSpinner {
    transition: opacity 0.15s ease-in-out;
}

/* Login card with layered shadow for depth */
.login-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeSlideIn 0.5s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card .form-control {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .login-card .form-control:focus {
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(27, 110, 194, 0.15);
        border-color: #1b6ec2;
    }

.login-card .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.login-card .btn-primary {
    box-shadow: 0 2px 4px rgba(27, 110, 194, 0.3), 0 4px 8px rgba(27, 110, 194, 0.2);
}

    .login-card .btn-primary:active:not(:disabled) {
        box-shadow: 0 1px 2px rgba(27, 110, 194, 0.3);
    }

    .login-card .btn-primary:disabled {
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

.login-card h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

main.login {
    background: linear-gradient(180deg, #e8e8e8 0%, #f8f8f8 100%);
    min-height: 100vh;
}