﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --sidebar: #2c315c;
    --sidebar-dark: #23284c;
    --accent: #f26522;
    --accent-hover: #dd5718;
    --bg: #f3f4f7;
    --card: #ffffff;
    --text: #1f2430;
    --muted: #7b8190;
    --border: #e7e9ef;
    --input-bg: #f8f9fc;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef1f6 0%, #f7f8fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* hafif watermark */
.watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .watermark img {
        width: 520px;
        max-width: 70vw;
        opacity: 0.045;
        filter: blur(2px) grayscale(10%);
        transform: scale(1.08);
    }

.page {
    width: 100%;
    max-width: 1100px;
    min-height: 620px;
    display: grid;
    grid-template-columns: 43% 57%;
    background: var(--card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(23, 27, 47, 0.12);
    position: relative;
    z-index: 2;
}

.left-panel {
    background: linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-dark) 100%);
    color: #fff;
    padding: 48px 38px;
    position: relative;
    overflow: hidden;
}

    .left-panel::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        top: -70px;
        right: -70px;
    }

    .left-panel::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(242, 101, 34, 0.14);
        bottom: -90px;
        left: -80px;
    }

.brand {
    position: relative;
    z-index: 2;
}

    .brand img {
        width: 170px;
        max-width: 100%;
        margin-bottom: 26px;
        background: rgba(255,255,255,0.96);
        padding: 10px 14px;
        border-radius: 14px;
    }

    .brand h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 14px;
        font-weight: 700;
    }

    .brand p {
        color: rgba(255,255,255,0.82);
        font-size: 15px;
        line-height: 1.7;
        max-width: 360px;
    }

.feature-list {
    margin-top: 34px;
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.92);
    font-size: 14px;
}

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(242, 101, 34, 0.15);
    flex-shrink: 0;
}

.right-panel {
    background: #fff;
    padding: 56px 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.top-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff3ec;
    color: var(--accent);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 18px;
}

.login-box h2 {
    color: var(--text);
    font-size: 30px;
    margin-bottom: 8px;
}

.login-box .desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #3a4050;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--input-bg);
    padding: 0 16px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: 0.25s ease;
}

    .form-control::placeholder {
        color: #a0a6b3;
    }

    .form-control:focus {
        border-color: rgba(242, 101, 34, 0.45);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.10);
    }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e7584;
    font-size: 14px;
}

    .remember input {
        accent-color: var(--accent);
    }

.forgot {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .forgot:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 12px 24px rgba(242, 101, 34, 0.20);
}

    .btn-login:hover {
        background: var(--accent-hover);
        transform: translateY(-1px);
    }

.bottom-text {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #8a91a0;
}

    .bottom-text strong {
        color: var(--sidebar);
    }

@media (max-width: 900px) {
    body {
        display: block;
        padding: 16px;
    }

    .page {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 520px) {
    body {
        padding: 14px;
    }

    .page {
        border-radius: 18px;
    }

    .login-box h2 {
        font-size: 26px;
    }

    .brand img {
        width: 145px;
    }
}
