/* Öğrenci ve yönetici giriş ekranlarının ortak tasarımı. */

.sks-login {
    --navy: #112c48;
    --ink: #19324c;
    --muted: #627183;
    margin: 0;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #edf1f5;
    background-image: linear-gradient( 135deg, rgba(237, 241, 245, .88), rgba(237, 241, 245, .76) ), url("../img/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

    .sks-login * {
        box-sizing: border-box;
    }

.login-shell {
    min-height: 100vh;
    min-height: 100svh;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-panel {
    width: 100%;
    max-width: 1240px;
    min-height: 780px;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 85px #19324c26;
}

/* Sol tanıtım alanı */

.brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 42px 48px;
    color: #fff;
    background: radial-gradient(ellipse at 100% 80%, #24567980, transparent 65%), linear-gradient(145deg, #122a43, #102f4e);
}

    .brand-panel::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        top: 100px;
        right: -320px;
        border: 1px solid #ffffff09;
        border-radius: 50%;
        box-shadow: 0 0 0 65px #ffffff03, 0 0 0 130px #ffffff03;
        pointer-events: none;
    }

.university-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 17px;
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 2.2px;
    text-decoration: none;
}

    .university-brand:hover {
        color: #fff;
    }

.logo-disc {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    background: #fff;
    border-radius: 50%;
}

    .logo-disc img {
        width: 76px;
        height: 76px;
        object-fit: contain;
    }

.university-subtitle {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
}

.brand-content {
    position: relative;
    z-index: 1;
    margin: 35px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c0cfe0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.2px;
}

.accent-line {
    width: 25px;
    height: 3px;
    background: #f05b63;
    border-radius: 8px;
}

.app-title {
    margin: 20px 0;
    font-size: clamp(37px, 3.7vw, 50px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

    .app-title span {
        color: #a8c6e3;
        font-weight: 350;
    }

.app-description {
    max-width: 380px;
    margin: 0;
    color: #bfcede;
    font-size: 14px;
    line-height: 1.8;
}

/* Tanıtım kartı */

.process-art {
    max-width: 390px;
    margin-top: 28px;
    background: linear-gradient(130deg, #ffffff10, #ffffff04);
    border: 1px solid #ffffff25;
    border-radius: 16px;
    box-shadow: 0 22px 30px #051b3220;
    transform: rotate(-2deg);
}

.art-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #ffffff15;
    color: #d3deea;
    font-size: 9px;
    letter-spacing: 2px;
}

.art-dots {
    color: #94a9bf;
    letter-spacing: 3px;
}

.art-content {
    padding: 18px 20px 9px;
}

.art-title {
    margin-bottom: 16px;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.5px;
}

.art-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #ffffff12;
}

.art-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid #ffffff25;
    border-radius: 9px;
    color: #b7cce0;
    font-size: 10px;
}

.art-item.is-highlight .art-number {
    color: #fff;
    background: #c94451;
    border-color: #c94451;
}

.art-item strong {
    display: block;
    color: #edf4fb;
    font-size: 12px;
    font-weight: 500;
}

.art-item div > span {
    display: block;
    margin-top: 3px;
    color: #a8bfd6;
    font-size: 10px;
}

.art-arrow {
    margin-left: auto;
    color: #8eabc6;
    font-size: 17px;
}

.brand-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    color: #9eb4c9;
    font-size: 10px;
}

.small-mark {
    padding-right: 14px;
    border-right: 1px solid #ffffff30;
    font-size: 9px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Sağ giriş alanı */

.form-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 48px 28px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    gap: 10px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid #b9cee2;
    border-radius: 10px;
    background: #eaf2fa;
    color: #163e65;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(17, 44, 72, .08);
    transition: background .2s, border-color .2s, box-shadow .2s;
}

    .back-link:hover,
    .back-link:focus-visible {
        background: #dceaf7;
        border-color: #7298bc;
        color: #112c48;
        text-decoration: none;
        box-shadow: 0 6px 16px rgba(17, 44, 72, .14);
    }

    .back-link > span {
        font-size: 18px;
        line-height: 1;
    }

.form-content {
    width: 100%;
    max-width: 370px;
    margin: 48px auto 36px;
}

.section-label {
    display: inline-block;
    margin-bottom: 17px;
    color: #b62d3c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-title {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -1.1px;
}

.login-description {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.sks-login .form-label {
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
}

.sks-login .form-control {
    min-width: 0;
    height: 54px;
    padding: 13px 15px;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    background: #fbfcfe;
    color: var(--ink);
    font-size: 14px;
}

    .sks-login .form-control::placeholder {
        color: #8d99a8;
    }

    .sks-login .form-control:focus {
        border-color: #547b9e;
        background: #fff;
        box-shadow: 0 0 0 3px #315e8a15;
    }

.username-group {
    flex-wrap: nowrap;
}

    .username-group .form-control {
        border-right: 0;
    }

.sks-login .input-group-text {
    padding: 0 10px;
    border-color: #dce3eb;
    border-radius: 0 10px 10px 0;
    background: #f1f5f9;
    color: #65768a;
    font-size: 11px;
}

.field-hint {
    margin-top: 8px;
    color: #738195;
    font-size: 11px;
    line-height: 1.5;
}

.password-field {
    position: relative;
}

    .password-field .form-control {
        padding-right: 52px;
    }

.password-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #708297;
}

    .password-toggle:hover {
        background: #edf2f8;
        color: var(--navy);
    }

.eye-slash {
    display: none;
}

.password-toggle[aria-pressed="true"] .eye-slash {
    display: block;
}

.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin: 14px 0 24px;
}

.forgot-link {
    color: #385b80;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .forgot-link:hover {
        color: var(--navy);
        text-decoration: underline;
    }

    .forgot-link span {
        margin-left: 6px;
    }

.sks-login .login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border: 1px solid var(--navy);
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 18px #112c481a;
    transition: background .2s, transform .2s;
}

    .sks-login .login-submit:hover {
        background: #20496f;
        color: #fff;
        transform: translateY(-1px);
    }

.login-submit span + span {
    font-size: 21px;
    line-height: 1;
}

.account-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 27px;
    padding-top: 23px;
    border-top: 1px solid #e9edf2;
}

    .account-note p {
        margin: 0;
        color: #778497;
        font-size: 11px;
        line-height: 1.8;
    }

.note-icon {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    border: 1px solid #9cacbc;
    border-radius: 50%;
    color: #7d8da0;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
}

.login-footer {
    color: #748296;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

    .login-footer > span {
        display: block;
        margin-top: 7px;
        color: #8491a0;
        font-size: 10px;
    }

.login-alert {
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sks-login a:focus-visible,
.sks-login button:focus-visible {
    outline: 3px solid #6f9fc7;
    outline-offset: 4px;
}

/* Mobil ve tablet */

@media (min-width: 1600px) {
    .login-panel {
        min-height: 820px;
    }
}

@media (max-width: 1199.98px) {
    .brand-panel {
        padding: 36px 32px;
    }

    .form-panel {
        padding: 32px;
    }

    .university-brand {
        font-size: 16px;
        letter-spacing: 1.6px;
    }

    .brand-bottom {
        font-size: 9px;
    }
}

@media (max-width: 991.98px) {
    .sks-login {
        background-attachment: scroll;
    }

    .login-shell {
        padding: 24px;
    }

    .login-panel {
        max-width: 660px;
        min-height: 0;
    }

    .brand-panel {
        padding: 28px 32px;
    }

    .brand-content {
        margin: 28px 0 0;
    }

    .app-title {
        margin: 16px 0 12px;
        font-size: 36px;
        line-height: 1.15;
    }

    .app-description {
        max-width: 480px;
        font-size: 14px;
    }

    .process-art,
    .brand-bottom {
        display: none;
    }

    .university-brand {
        font-size: 15px;
    }

    .logo-disc {
        width: 64px;
        height: 64px;
    }

        .logo-disc img {
            width: 58px;
            height: 58px;
        }

    .form-panel {
        padding: 26px 32px;
    }

    .form-content {
        max-width: 440px;
        margin: 30px auto;
    }

    .login-footer {
        padding-top: 7px;
    }
}

@media (max-width: 575.98px) {
    .login-shell {
        padding: 12px;
    }

    .login-panel {
        border-radius: 20px;
    }

    .brand-panel {
        padding: 25px 23px;
    }

    .university-brand {
        gap: 12px;
        font-size: 14px;
    }

    .university-subtitle {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .app-title {
        font-size: 30px;
        letter-spacing: -.8px;
    }

    .app-description {
        font-size: 12px;
        line-height: 1.7;
    }

    .form-panel {
        padding: 23px;
    }

    .back-link {
        font-size: 11px;
    }

    .form-content {
        margin: 27px auto;
    }

    .section-label {
        margin-bottom: 12px;
        font-size: 9px;
    }

    .login-title {
        font-size: 29px;
    }

    .login-description {
        margin-bottom: 25px;
        font-size: 12px;
    }

    .sks-login .input-group-text {
        padding: 0 7px;
        font-size: 10px;
    }

    .sks-login .form-control {
        padding-left: 12px;
        font-size: 13px;
    }

    .login-footer {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sks-login .login-submit {
        transition: none;
    }

        .sks-login .login-submit:hover {
            transform: none;
        }
}


@media (max-width: 991.98px) {
    .back-link {
        align-self: stretch;
        width: 100%;
        font-size: 13px;
    }
}
