﻿/*
  NNIPS Data Portal — Modern Clinical Research Login
  Palette: deep indigo, teal, soft ice and restrained amber.
  Compatible with the existing Login.aspx markup and ASP.NET controls.
*/

:root {
    --ink: #172B4D;
    --ink-soft: #526581;
    --indigo: #263C78;
    --indigo-deep: #172B59;
    --teal: #138A83;
    --teal-dark: #0C6F6A;
    --amber: #F2B45A;
    --page: #F2F6FA;
    --surface: #FFFFFF;
    --line: #DCE5EE;
    --danger: #C43D4B;
    --shadow: 0 24px 70px rgba(28, 49, 86, .16);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(ellipse at 12% 8%, rgba(19, 138, 131, .12), transparent 32%), radial-gradient(ellipse at 90% 92%, rgba(38, 60, 120, .12), transparent 35%), linear-gradient(135deg, #F7FAFD 0%, #EDF3F8 100%);
    -webkit-font-smoothing: antialiased;
}

.limiter {
    width: 100%;
    min-height: 100vh;
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    position: relative;
    overflow: hidden;
}

    .container-login100::before,
    .container-login100::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .container-login100::before {
        width: 390px;
        height: 390px;
        top: -220px;
        right: -110px;
        border: 1px solid rgba(19, 138, 131, .16);
        box-shadow: 0 0 0 32px rgba(19, 138, 131, .025), 0 0 0 66px rgba(19, 138, 131, .02);
    }

    .container-login100::after {
        width: 300px;
        height: 300px;
        bottom: -205px;
        left: -90px;
        border: 1px solid rgba(38, 60, 120, .14);
        box-shadow: 0 0 0 30px rgba(38, 60, 120, .025), 0 0 0 62px rgba(38, 60, 120, .018);
    }

.wrap-login100 {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    padding: 38px 42px 28px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(220, 229, 238, .95);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.login100-form {
    width: 100%;
}

.login100-form-logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 34px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--indigo) 0%, #315C98 54%, var(--teal) 100%);
    box-shadow: 0 10px 22px rgba(38, 60, 120, .22);
    position: relative;
}

    .login100-form-logo::after {
        content: "";
        position: absolute;
        width: 28px;
        height: 4px;
        border-radius: 10px;
        background: var(--amber);
        bottom: -7px;
    }

/* The existing markup uses inline styles for the title and labels.
   These rules intentionally override only the old purple color. */
#PanelLogin form > div[style*="text-align:center"] {
    color: var(--indigo) !important;
}

#PanelLogin form > div[style*="font-size:22px"] {
    font-size: 25px !important;
    font-weight: 750 !important;
    letter-spacing: -.45px;
    line-height: 1.3;
}

#PanelLogin form > div[style*="font-size:14px"] {
    color: var(--ink-soft) !important;
    font-size: 14px !important;
    padding-top: 4px !important;
    padding-bottom: 25px !important;
}

#PanelLogin label {
    color: var(--ink) !important;
}

#PanelLogin #Msg {
    display: block;
    margin: 0 auto 12px;
    text-align: center;
    color: var(--danger) !important;
    font-size: 13px;
    font-weight: 600;
}

.wrap-input100 {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

    .wrap-input100 > label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 700 !important;
        letter-spacing: .2px;
    }

.input100 {
    width: 100%;
    height: 52px;
    display: block;
    padding: 0 15px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    background: #F8FAFC;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .input100::placeholder {
        color: #98A5B7;
        opacity: 1;
    }

    .input100:hover {
        border-color: #B7C8D8;
    }

    .input100:focus {
        background: #FFFFFF;
        border-color: var(--teal);
        box-shadow: 0 0 0 4px rgba(19, 138, 131, .12);
    }

.focus-input100 {
    display: none;
}

span[data-placeholder] {
    pointer-events: none;
}

#PanelLogin span[style*="color: red"],
#PanelLogin .fa-times-circle-o {
    display: block;
    margin-top: 6px;
    color: var(--danger) !important;
    font-size: 12px;
}

.container-login100-form-btn {
    width: 100%;
    margin-top: 26px;
}

.login100-form-btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .25px;
    cursor: pointer;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(105deg, var(--indigo-deep) 0%, var(--indigo) 48%, var(--teal) 100%);
    box-shadow: 0 8px 18px rgba(38, 60, 120, .20);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .login100-form-btn:hover {
        filter: brightness(1.06);
        box-shadow: 0 11px 23px rgba(38, 60, 120, .24);
        transform: translateY(-1px);
    }

    .login100-form-btn:active {
        transform: translateY(0);
    }

    .login100-form-btn:focus-visible {
        outline: 3px solid rgba(19, 138, 131, .3);
        outline-offset: 3px;
    }

.contact100-form-checkbox {
    margin-top: 15px;
    color: var(--ink-soft);
    font-size: 13px;
}

    .contact100-form-checkbox input {
        accent-color: var(--teal);
    }

#PanelLogin > div[style*="text-align:center"] {
    margin-top: 27px !important;
    padding-top: 18px;
    color: #6A7890 !important;
    font-size: 12px;
    font-weight: 600 !important;
    border-top: 1px solid #E9EEF3;
    line-height: 1.6;
}

#PanelError {
    max-width: 620px;
    margin: 18px auto 0;
    padding: 12px 16px;
    color: var(--danger);
    background: #FFF3F3;
    border: 1px solid #F4D2D5;
    border-radius: 10px;
    font-size: 14px;
}

    #PanelError img {
        vertical-align: middle;
        margin-right: 8px;
    }

@media (max-width: 520px) {
    .container-login100 {
        padding: 20px 14px;
    }

    .wrap-login100 {
        max-width: 420px;
        padding: 30px 23px 23px;
        border-radius: 18px;
    }

    .login100-form-logo {
        width: 66px;
        height: 66px;
        font-size: 30px;
        border-radius: 19px;
        margin-bottom: 19px;
    }

    #PanelLogin form > div[style*="font-size:22px"] {
        font-size: 23px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
