﻿/* ============================================================
   SIMS Design System — Login Page (المعتمد)
   File   : wwwroot/css/sims-login.css
   Depends: sims-tokens.css, sims-components.css
   ============================================================ */
.login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr
}

/* لوحة الهوية */
.lg-brand {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(800px 600px at 20% 15%, var(--side-glow), transparent 60%), radial-gradient(600px 500px at 90% 90%, rgba(212,175,55,.18), transparent 55%), linear-gradient(160deg,var(--side1) 10%,var(--side2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    transition: background var(--dur)
}

    .lg-brand::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .5;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Cpath d='M60 6l13 26 29 5-21 21 5 29-26-14-26 14 5-29L18 37l29-5z'/%3E%3Ccircle cx='60' cy='60' r='54'/%3E%3C/g%3E%3C/svg%3E")
    }

.lg-hairline {
    position: absolute;
    inset-inline-end: 0;
    inset-block: 0;
    width: 1px;
    background: linear-gradient(180deg,transparent,rgba(212,175,55,.65),transparent)
}

.lg-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.1rem
}

.lg-seal {
    width: 100px;
/*    height: 92px;
    border-radius: 50%;
    background: #fff;
    padding: 7px;
    box-shadow: 0 0 0 1px rgba(212,175,55,.55),0 0 0 7px rgba(212,175,55,.12),0 18px 40px rgba(0,0,0,.35)
*/}

    .lg-seal img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

.lg-club {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5
}

    .lg-club small {
        display: block;
        font-family: var(--font-body);
        font-weight: 300;
        font-size: .85rem;
        color: rgba(255,255,255,.75);
        letter-spacing: .06em
    }

.lg-mid {
    position: relative;
    z-index: 1;
    max-width: 560px
}

.lg-word {
    font-size: .8rem;
    letter-spacing: .35em;
    color: var(--lux);
    font-weight: 500;
    margin-block-end: 1rem
}

.lg-h {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-block-end: 1rem
}

    .lg-h em {
        font-style: normal;
        color: var(--lux)
    }

.lg-p {
    color: rgba(255,255,255,.78);
    font-weight: 300;
    font-size: 1.02rem;
    max-width: 46ch
}

.lg-stats {
    display: flex;
    gap: 2.4rem;
    margin-block-start: 2.2rem
}

.lg-st .n {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff
}

    .lg-st .n b {
        color: var(--lux);
        font-weight: 700
    }

.lg-st .l {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    font-weight: 300
}

.lg-bottom {
    position: relative;
    z-index: 1
}

.lg-iso-t {
    font-size: .72rem;
    letter-spacing: .25em;
    color: rgba(255,255,255,.55);
    margin-block-end: .7rem
}

.lg-iso {
/*    background: rgba(255,255,255,.96);
   border-radius: var(--radius);*/ 
    padding: 1.1rem 1.5rem;
    display: block;
    width: 100%;
    /*box-shadow: 0 0 0 1px rgba(212,175,55,.4),0 14px 34px rgba(0,0,0,.3)*/
}

    .lg-iso img {
        width: 100%;
        height: auto;
        display: block
    }

.lg-iso-names {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-block-start: .8rem;
    justify-content: space-around;
}

    .lg-iso-names span {
        font-size: .7rem;
        font-weight: 300;
        color: rgba(255,255,255,.85);
        border: 1px solid rgba(212,175,55,.45);
        background: rgba(212,175,55,.1);
        border-radius: var(--full);
        padding: .14rem .65rem
    }

    .lg-iso-names b {
        font-family: var(--font-b-lt);
        font-weight: 500;
        color: var(--lux)
    }

/* لوحة النموذج */
.lg-form {
    display: flex;
    flex-direction: column;
    padding: 2.2rem 3rem;
    position: relative
}

.lg-settings {
    display: flex;
    justify-content: flex-end;
    gap: .55rem
}

.lg-card {
    margin: auto;
    width: 100%;
    max-width: 430px
}

.lg-logo-line {
    display: flex;
    justify-content: center;
    margin-block-end: 1.6rem
}

    .lg-logo-line img {
        height: 64px;
        max-width: 100%;
        object-fit: contain
    }

.lg-welcome {
    text-align: center;
    margin-block-end: 2rem
}

    .lg-welcome h2 {
        font-size: 2rem;
        font-weight: 700
    }

    .lg-welcome p {
        color: var(--muted);
        font-weight: 300;
        margin: 0
    }

.lg-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.4rem 0
}

    .lg-rule::before, .lg-rule::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg,transparent,var(--line-strong),transparent)
    }

    .lg-rule span {
        font-size: .78rem;
        color: var(--faint);
        letter-spacing: .1em
    }

.demo {
    margin-block-start: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    font-size: .8rem;
    color: var(--muted);
    background: var(--inset);
    line-height: 2
}

    .demo b {
        color: var(--fg)
    }

@media(max-width:1000px) {
    .login {
        grid-template-columns: 1fr
    }

    .lg-brand {
        display: none
    }

    .lg-form {
        padding: 1.5rem
    }
}
