* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.wrap {
    min-height: 580px;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "DM Sans", sans-serif;
    position: relative;
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 30px 24px;
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.08),
        0 1px 4px rgba(15, 23, 42, 0.04);
    position: absolute;
    top: 30%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center;
}

.bicon {
    width: 34px;
    height: 34px;
    background: #0da3e2;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
}

.bname {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.bname span {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.sub {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 24px;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.iw {
    position: relative;
}

.iw input {
    width: 100%;
    padding: 9px 36px 9px 36px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13.5px;
    color: #0f172a !important;
    font-family: "DM Sans", sans-serif;
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.iw input:focus {
    border-color: #0da3e2;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.iw input::placeholder {
    color: #cbd5e1;
}

.il {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.ir {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s;
}

.ir:hover {
    color: #0da3e2;
}

.frow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.frow label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.frow a {
    font-size: 12px;
    color: #0da3e2;
    text-decoration: none;
    font-weight: 500;
}

.frow a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 10px;
    background: #0da3e2;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s;
}
.btn:hover {
    width: 100%;
    padding: 10px;
    background: #0da3e2;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s;
}



.remember-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    margin-bottom: 10px;
}

.remember-box {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.remember-box input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.8px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    background: #fff;
}

.remember-box input:checked + .checkmark {
    background: #0da3e2;
    border-color: #0da3e2;
}

.remember-box input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1.5px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-text {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.remember-wrap a {
    font-size: 12px;
    color: #0da3e2;
    text-decoration: none;
    font-weight: 600;
}

.remember-wrap a:hover {
    text-decoration: underline;
}
