/* new login */
/* Reset & base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --page-bg: #3c3c3c;
    --panel-bg: #ffffff;
    --text: #1b1f26;
    --muted: #6b7280;
    --primary: #2866f6;
    /* button blue */
    --border: #e5e7eb;
    --input-bg: #fff;
    --shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--text);
    background: var(--page-bg);
}

/* Outer gray margins like the screenshot */
.page {
    min-height: 100vh;
    display: grid;
    place-items: stretch;
    /* let the frame fill the screen */
    padding: 0;
}

/* White frame with two columns */
.frame {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 35% 65%;
    background: var(--panel-bg);
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

/* Left panel content */
.panel-left {
    position: relative;
    padding: 33px 111px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    background: #fff;
}

.brand {
    letter-spacing: .08em;
    font-size: 14px;
    color: #0f172a;
    font-weight: 600;
}

.card h1 {
    margin: 12px 0 4px;
    font-size: 32px;
    line-height: 1.2;
}

.subtitle {
    color: var(--muted);
    margin: 0 0 28px;
    font-size: 14px;
}

/* Form fields */
.form {
    display: grid;
    gap: 18px;
}

.field .label {
    display: block;
    font-size: 12px;
    color: #0f172a;
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    height: 36px;
    overflow: hidden;
}

.input-wrap .icon {
    display: grid;
    place-items: center;
    color: #9aa0a6;
}

.input-wrap input {
    border: 0;
    outline: 0;
    height: 100%;
    width: 100%;
    font-size: 13px;
    padding: 0 8px;
}

.input-wrap .toggle-eye {
    display: grid;
    place-items: center;
    color: #6b7280;
    opacity: .9;
    pointer-events: none;
    /* purely decorative */
}

.btn-primary {
    margin-top: 8px;
    border: 0;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    height: 36px;
    width: 100%;
    cursor: pointer;
    transition: filter .15s ease;
}

.btn-primary:hover {
    filter: brightness(.95);
}

.btn-primary:active {
    filter: brightness(.9);
}

/* Footer logos */
.footer {
    display: flex;
    gap: 20px;
    align-items: center;
    /* justify-content: space-between; */
    margin-top: 24px;
    color: #64748b;
    font-size: 12px;
}

.logo {
    width: 200px;
}

.logo-shape {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #111827, #22d3ee);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    border-radius: 2px;
}

.logo-text {
    letter-spacing: .02em;
}

.logo-text strong {
    margin-right: 4px;
}

.by {
    opacity: .7;
}

/* Right panel image */
.panel-right {
    position: relative;
    background: #f4f6f8;
}

.panel-right .image {
    position: absolute;
    inset: 0;
    background-image: url('../img/atipik-BG.jpg');
    background-size: cover;
    background-position: unset;
}

.panel-right .image::after {
    /* Light bluish overlay similar to screenshot tint */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .25));
}

/* Responsive tweaks */
@media (max-width: 960px) {
    .frame {
        grid-template-columns: 1fr;
        height: auto;
    }

    .panel-right {
        display: none;
    }
}


/* Center the form block vertically within the left panel */
.card {
    align-self: center;
}
@media screen and (max-width: 500px){
    .panel-left {
        padding: 32px;
    }
}