﻿:root {
    --hk-orange: #f37121;
    --hk-orange-dark: #db5d12;
    --hk-orange-soft: #fff4ec;
    --hk-navy: #172435;
    --hk-navy-light: #24364d;
    --hk-text: #1f2937;
    --hk-muted: #6b7280;
    --hk-border: #dfe5ec;
    --hk-background: #f3f6f9;
    --hk-danger: #b42318;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    background: radial-gradient( circle at 8% 10%, rgba(243, 113, 33, .10), transparent 27% ), radial-gradient( circle at 92% 90%, rgba(23, 36, 53, .08), transparent 28% ), var(--hk-background);
    color: var(--hk-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

button,
input {
    font-family: inherit;
}

.login-shell {
    width: 100%;
    max-width: 1080px;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(215, 222, 231, .90);
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(19, 32, 48, .13), 0 4px 12px rgba(19, 32, 48, .05);
}

/* Sol kurumsal bölüm */

.brand-panel {
    position: relative;
    overflow: hidden;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient( 145deg, var(--hk-navy) 0%, #1b3048 56%, #263c55 100% );
}

    .brand-panel::before {
        content: "";
        position: absolute;
        top: -145px;
        right: -115px;
        width: 350px;
        height: 350px;
        border: 70px solid rgba(243, 113, 33, .12);
        border-radius: 50%;
    }

    .brand-panel::after {
        content: "";
        position: absolute;
        right: -115px;
        bottom: -145px;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        background: rgba(243, 113, 33, .08);
    }

.brand-top,
.brand-content,
.brand-footer {
    position: relative;
    z-index: 2;
}

.brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-circle-logo {
    width: 58px;
    height: 58px;
    padding: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 17px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.brand-name {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -.3px;
}

.brand-subname {
    margin-top: 3px;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.brand-badge {
    width: max-content;
    margin-bottom: 22px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd8c0;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .3px;
    background: rgba(243, 113, 33, .13);
    border: 1px solid rgba(243, 113, 33, .26);
    border-radius: 999px;
}

.brand-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--hk-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(243, 113, 33, .13);
}

.brand-content h1 {
    max-width: 430px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 38px;
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -1.1px;
}

    .brand-content h1 span {
        color: #ff9a5a;
    }

.brand-description {
    max-width: 455px;
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 15px;
    line-height: 1.75;
}

.brand-features {
    margin-top: 32px;
    display: grid;
    gap: 14px;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

.feature-check {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb283;
    font-size: 13px;
    font-weight: 800;
    background: rgba(243, 113, 33, .14);
    border: 1px solid rgba(243, 113, 33, .25);
    border-radius: 8px;
}

.brand-footer {
    padding-top: 28px;
    color: rgba(255, 255, 255, .46);
    font-size: 11px;
}

/* Sağ form bölümü */

.form-panel {
    position: relative;
    padding: 54px 58px;
    display: flex;
    align-items: center;
    background: #fff;
}

.form-container {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.mobile-logo {
    display: none;
}

.form-eyebrow {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--hk-orange-dark);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .7px;
    text-transform: uppercase;
}

    .form-eyebrow::before {
        content: "";
        width: 24px;
        height: 3px;
        background: var(--hk-orange);
        border-radius: 999px;
    }

.form-title {
    margin: 0 0 10px;
    color: var(--hk-navy);
    font-size: 29px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.6px;
}

.form-description {
    margin: 0 0 30px;
    color: var(--hk-muted);
    font-size: 14px;
    line-height: 1.65;
}

.form-group {
    margin-bottom: 19px;
}

.control-label {
    margin-bottom: 8px;
    display: block;
    color: #354052;
    font-size: 13px;
    font-weight: 650;
}

.required-mark {
    margin-left: 2px;
    color: var(--hk-orange);
}

.input-wrapper {
    position: relative;
}

.input-symbol {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
    transform: translateY(-50%);
    pointer-events: none;
}

    .input-symbol svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.form-control {
    width: 100%;
    height: 50px;
    padding: 10px 46px 10px 46px;
    color: var(--hk-text);
    font-size: 14px;
    background: #fbfcfd;
    border: 1px solid var(--hk-border);
    border-radius: 11px;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

    .form-control::placeholder {
        color: #a8b0bb;
    }

    .form-control:hover {
        border-color: #c8d0da;
    }

    .form-control:focus {
        background: #fff;
        border-color: var(--hk-orange);
        box-shadow: 0 0 0 4px rgba(243, 113, 33, .11);
    }

    .form-control.input-validation-error {
        border-color: #e05a4f;
        background: #fffafa;
    }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a94a3;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
    cursor: pointer;
}

    .password-toggle:hover {
        color: var(--hk-orange-dark);
        background: var(--hk-orange-soft);
    }

    .password-toggle:focus {
        outline: 2px solid rgba(243, 113, 33, .28);
    }

    .password-toggle svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.field-validation-error {
    margin-top: 6px;
    display: block;
    color: var(--hk-danger);
    font-size: 12px;
    line-height: 1.4;
}

.validation-summary-errors {
    position: relative;
    margin-bottom: 22px;
    padding: 13px 15px 13px 43px;
    color: var(--hk-danger);
    font-size: 12.5px;
    line-height: 1.5;
    background: #fff5f4;
    border: 1px solid #ffd5d1;
    border-radius: 10px;
}

    .validation-summary-errors::before {
        content: "!";
        position: absolute;
        top: 13px;
        left: 15px;
        width: 19px;
        height: 19px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 12px;
        font-weight: 800;
        background: #d92d20;
        border-radius: 50%;
    }

    .validation-summary-errors ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.btn-login {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient( 135deg, var(--hk-orange), #ed6414 );
    border: 0;
    border-radius: 11px;
    box-shadow: 0 9px 20px rgba(243, 113, 33, .24);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

    .btn-login:hover,
    .btn-login:focus {
        color: #fff;
        background: linear-gradient( 135deg, #e96819, #d9570c );
        box-shadow: 0 11px 24px rgba(243, 113, 33, .31);
        transform: translateY(-1px);
        outline: none;
    }

    .btn-login:active {
        transform: translateY(0);
    }

    .btn-login:disabled {
        cursor: wait;
        opacity: .78;
        transform: none;
    }

.button-arrow {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-spinner {
    width: 17px;
    height: 17px;
    display: none;
    border: 2px solid rgba(255, 255, 255, .40);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.btn-login.loading .login-spinner {
    display: block;
}

.btn-login.loading .button-arrow {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.security-note {
    margin-top: 23px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #788292;
    font-size: 11.5px;
    line-height: 1.55;
}

.security-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hk-orange-dark);
    background: var(--hk-orange-soft);
    border-radius: 8px;
}

    .security-icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    color: #9aa2ad;
    font-size: 11px;
    text-align: center;
    border-top: 1px solid #edf0f3;
}

/* Tablet ve mobil */

@media (max-width: 900px) {
    body {
        padding: 18px;
        align-items: flex-start;
    }

    .login-shell {
        max-width: 560px;
        min-height: auto;
        display: block;
        border-radius: 21px;
    }

    .brand-panel {
        min-height: auto;
        padding: 30px 34px;
    }

    .brand-content {
        margin-top: 40px;
    }

        .brand-content h1 {
            font-size: 30px;
        }

    .brand-features,
    .brand-footer {
        display: none;
    }

    .form-panel {
        padding: 42px 36px;
    }
}

@media (max-width: 520px) {
    body {
        padding: 0;
        background: #fff;
    }

    .login-shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .brand-panel {
        padding: 22px 24px 28px;
        border-radius: 0 0 26px 26px;
    }

    .brand-circle-logo {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-subname {
        font-size: 10px;
    }

    .brand-content {
        margin-top: 28px;
    }

    .brand-badge {
        margin-bottom: 14px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .brand-content h1 {
        margin-bottom: 9px;
        font-size: 25px;
        letter-spacing: -.5px;
    }

    .brand-description {
        font-size: 12.5px;
        line-height: 1.6;
    }

    .form-panel {
        padding: 34px 24px 28px;
    }

    .form-title {
        font-size: 25px;
    }

    .form-description {
        margin-bottom: 25px;
    }
}

.hk-validation-summary.validation-summary-valid {
    display: none;
}

.hk-validation-summary.validation-summary-errors {
    position: relative;
    display: block;
    margin-bottom: 22px;
    padding: 13px 15px 13px 43px;
    color: var(--hk-danger);
    font-size: 12.5px;
    line-height: 1.5;
    background: #fff5f4;
    border: 1px solid #ffd5d1;
    border-radius: 10px;
}

    .hk-validation-summary.validation-summary-errors::before {
        content: "!";
        position: absolute;
        top: 13px;
        left: 15px;
        width: 19px;
        height: 19px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 12px;
        font-weight: 800;
        background: #d92d20;
        border-radius: 50%;
    }

.hk-validation-summary ul {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}
