/* Template stylesheet: resources/views/auth/login.blade.php */

@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("https://enterprise.semrush.com/_next/static/media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2") format("woff2");
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 20%),
        linear-gradient(180deg, #f6f3ee 0%, #efeae2 48%, #ebe4da 100%);
    color: #111;
    font-family: "Geist", "Segoe UI", Arial, sans-serif;
}

body,
.login-page,
.login-page h1,
.login-page h2,
.login-page p,
.login-page a,
.login-page span,
.login-page label,
.login-page input,
.login-page button {
    font-family: "Geist", "Segoe UI", Arial, sans-serif;
}

header {
    background: rgba(245, 242, 237, 0.86);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
}

header .font-semibold {
    font-family: "Geist", "Segoe UI", Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

main {
    max-width: 1380px;
    padding-top: 1.5rem;
    padding-bottom: 4rem;
}

.login-page {
    min-height: calc(100vh - 6.5rem);
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(380px, 460px);
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 90px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
}

.login-stage {
    position: relative;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background: #d8d0c5;
}

.login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.login-brand--panel {
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.login-brand-mark {
    display: inline-flex;
    text-decoration: none;
}

.login-brand-image {
    display: block;
    width: min(280px, 28vw);
    height: auto;
    max-height: 66px;
}

.login-brand-caption {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.login-brand--panel .login-brand-caption {
    color: rgba(17, 17, 17, 0.5);
}

.login-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.login-visual-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.06);
}

.login-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(22, 20, 18, 0.18) 0%, rgba(22, 20, 18, 0.04) 26%, rgba(22, 20, 18, 0.36) 100%),
        linear-gradient(90deg, rgba(22, 20, 18, 0.28) 0%, rgba(22, 20, 18, 0.06) 38%, rgba(22, 20, 18, 0.18) 100%);
}

.login-message {
    position: relative;
    z-index: 2;
    max-width: 34rem;
    margin-top: auto;
    padding-top: 8rem;
}

.login-message-kicker {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.login-display {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(3.4rem, 4.4vw, 5.2rem);
    line-height: 0.93;
    letter-spacing: -0.065em;
    color: #fff;
    font-weight: 600;
}

.login-lead {
    max-width: 24rem;
    margin: 1.25rem 0 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.84);
}

.login-panel {
    display: flex;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(252, 251, 248, 0.94) 0%, rgba(247, 243, 238, 0.98) 100%);
}

.login-panel-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 760px;
    padding: 0 3rem 3.2rem;
    border-left: 1px solid rgba(17, 17, 17, 0.06);
}

.login-panel-header {
    margin-bottom: 2.1rem;
}

.login-eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.42);
}

.login-title {
    margin: 0;
    font-size: 2.3rem;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #111;
    font-weight: 600;
}

.login-subtitle {
    margin: 0.75rem 0 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.58);
}

.login-form {
    position: relative;
}

.login-field + .login-field {
    margin-top: 1.15rem;
}

.login-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.48);
}

.login-input {
    width: 100%;
    min-height: 3.95rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    color: #121212;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.login-input:focus {
    outline: none;
    border-color: rgba(17, 17, 17, 0.34);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.045);
}

.login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    margin-bottom: 1.7rem;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(17, 17, 17, 0.72);
    cursor: pointer;
}

.login-remember input {
    width: 1rem;
    height: 1rem;
    accent-color: #151515;
}

.login-link {
    color: #121212;
    text-decoration: none;
    border-bottom: 1px solid rgba(18, 18, 18, 0.18);
    transition: border-color .2s ease, color .2s ease;
}

.login-link:hover {
    color: #000;
    border-color: rgba(18, 18, 18, 0.58);
    text-decoration: none;
}

.login-submit {
    width: 100%;
    min-height: 3.95rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #171717 0%, #0f0f0f 100%);
    color: #f6f2ec;
    font-family: inherit;
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(15, 15, 15, 0.15);
}

.login-submit:hover {
    background: linear-gradient(180deg, #1f1f1f 0%, #111111 100%);
}

.login-footer {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.login-footer-copy {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.72;
    color: rgba(17, 17, 17, 0.64);
}

.login-footer-copy + .login-footer-copy {
    margin-top: 0.45rem;
}

@media (max-width: 1100px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-stage,
    .login-panel-inner {
        min-height: auto;
    }

    .login-stage {
        min-height: 620px;
    }

    .login-panel-inner {
        border-left: 0;
        border-top: 1px solid rgba(17, 17, 17, 0.06);
    }
}

@media (max-width: 720px) {
    main {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }

    .login-shell {
        border-radius: 1.25rem;
    }

    .login-stage {
        min-height: 520px;
        padding: 1.3rem;
    }

    .login-brand-image {
        width: min(220px, 58vw);
        max-height: 54px;
    }

    .login-brand--panel {
        margin-bottom: 1.75rem;
    }

    .login-message {
        padding-top: 5rem;
    }

    .login-display {
        max-width: 9.5ch;
        font-size: clamp(2.6rem, 10vw, 3.8rem);
    }

    .login-lead {
        max-width: 22rem;
        font-size: 0.95rem;
    }

    .login-panel-inner {
        padding: 1.65rem;
    }

    .login-title {
        font-size: 2rem;
    }
}

@media (max-width: 560px) {
    .login-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
