@charset "utf-8";

/* ============================================================
   ARGENTA — Login page
   ============================================================ */

*, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
}
html { overflow-y: scroll; overflow-x: hidden; min-height: 100%; }

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #0F2233;
    background: #EDF2F8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
input, select, button { font-family: inherit; }

/* ---- top bar ---- */
.menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 68px;
    background: rgba(237,242,248,.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E7EDF4;
    display: flex;
    align-items: center;
    padding: 0 28px;
    z-index: 10;
}
.logo { height: 34px; display: block; margin: auto; }

/* ---- card ---- */
.regForm {
    width: 96%;
    max-width: 420px;
    padding: 34px 36px 30px;
    background: #ffffff;
    border: 1px solid #E7EDF4;
    border-radius: 18px;
    box-shadow: 0 18px 40px -18px rgba(15,34,51,.28);
    position: relative;
    margin-top: 68px;
    animation: slideUp .4s ease forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.login-logo-wrap { text-align: center; margin-bottom: 22px; }
.login-logo-wrap img { height: 34px; margin-bottom: 10px; }
.login-tagline {
    font-size: 10.5px;
    color: #8494A5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h1 {
    text-align: center;
    color: #0F2233;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin: 0 0 22px 0;
}

/* ---- fields ---- */
.logText {
    width: 100%;
    margin: 9px 0;
    padding: 0 14px;
    height: 44px;
    font-size: 13.5px;
    color: #0F2233;
    background: #fff;
    border: 1px solid #E1E9F2;
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.logText:focus { border-color: #0EA5E9; box-shadow: 0 0 0 3px rgba(14,165,233,.18); }
.logText::placeholder { color: #9AABBC; }

select.logSelect {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, #7B8B9B 50%),
                      linear-gradient(135deg, #7B8B9B 50%, transparent 50%);
    background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
select.logSelect:focus {
    background-image: linear-gradient(45deg, transparent 50%, #0EA5E9 50%),
                      linear-gradient(135deg, #0EA5E9 50%, transparent 50%);
}

/* leading icons + password toggle */
.input-wrap { position: relative; }
.input-wrap .input-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: #9AABBC;
    pointer-events: none;
    transition: color .2s ease;
}
.input-wrap .logText { padding-left: 40px; }
.input-wrap:focus-within .input-ico { color: #0EA5E9; }

.pass-toggle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    color: #9AABBC;
    transition: color .2s ease, background .2s ease;
}
.pass-toggle:hover  { color: #0F2233; background: #F1F5FA; }
.pass-toggle.showing{ color: #0EA5E9; }
.input-wrap .logText[type="text"]#password,
.input-wrap #password { padding-right: 44px; }

/* ---- submit ---- */
.logBtn {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    margin: 20px 0 8px;
    border: none;
    color: #fff;
    background: #0EA5E9;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-transform: none;
    letter-spacing: .2px;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.logBtn:hover  { background: #0B8CC7; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(14,165,233,.9); }
.logBtn:active { transform: translateY(0); box-shadow: none; }
.logBtn.loading { pointer-events: none; opacity: .85; background: #0B8CC7; animation: btnPulse 1.1s ease infinite; }
@keyframes btnPulse {
    0%,100% { box-shadow: 0 4px 14px -8px rgba(14,165,233,.9); }
    50%     { box-shadow: 0 8px 24px -8px rgba(14,165,233,1); }
}

/* ---- messages ---- */
.hello, .fail {
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: fixed;
    z-index: 11;
    left: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.hello { top: 0;    background: #0369A1; }
.fail  { top: 50px; background: #0C4A6E; }
.failMsg {
    margin-top: 170px;
    text-align: center;
    color: #0F2233;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}
.card-alert {
    padding: 11px 13px;
    border-radius: 11px;
    margin-bottom: 14px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
}
.card-alert.err { background: #F1F8FE; color: #0C4A6E; border: 1px solid #BAE2F8; }

/* ---- entrance ---- */
.wow { visibility: hidden; }
.stagger { opacity: 0; animation: stgIn .45s ease forwards; }
.s-1 { animation-delay: .10s; } .s-2 { animation-delay: .18s; }
.s-3 { animation-delay: .26s; } .s-4 { animation-delay: .34s; } .s-5 { animation-delay: .42s; }
@keyframes stgIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- decorative canvas ---- */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
}
body::before {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(14,165,233,.10), transparent 70%);
    top: -180px; right: -160px;
}
body::after {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(56,189,248,.10), transparent 70%);
    bottom: -140px; left: -120px;
}

/* ============================================================
   TINE-MA MINTE
   ============================================================ */
.remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 2px 0 14px;
    cursor: pointer;
    user-select: none;
}
.remember input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    accent-color: #0EA5E9;
}
.remember span {
    font-size: 12.5px;
    font-weight: 600;
    color: #7B8B9B;
}
.remember:hover span { color: #0F2233; }
.remember input:focus-visible { outline: 2px solid #0EA5E9; outline-offset: 2px; }
