body.modern-auth-page {
    margin: 0;
    min-width: 320px;
    color: #2f2f2f;
    background-color: #e7ebef;
    background:
        radial-gradient(circle at 36% 28%, rgba(0, 86, 157, 0.18), transparent 30%),
        radial-gradient(circle at 64% 62%, rgba(82, 101, 119, 0.17), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.72), transparent 30%),
        radial-gradient(circle at 18% 78%, rgba(40, 91, 132, 0.10), transparent 32%),
        linear-gradient(145deg, #e6eaee 0%, #f7f9fa 48%, #dfe5ea 100%) !important;
    font-family: Arial, Helvetica, sans-serif;
}

.modern-auth-page .legacy-logo-row {
    height: 64px;
    background: rgba(247, 247, 247, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.10);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

.modern-auth-page .legacy-logo-row td {
    padding: 0 24px;
    vertical-align: middle;
}

.modern-auth-page .legacy-logo-row img {
    display: block;
    width: auto;
    max-height: 40px;
}

.modern-auth-page .legacy-logo-row td:last-child img {
    margin-left: auto;
}

.modern-auth-page .legacy-blue-bar {
    height: 32px;
    color: #f5f5f5 !important;
    background-color: #075b9d !important;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0, rgba(255, 255, 255, 0.04) 42%, rgba(0, 0, 0, 0.18) 100%),
        linear-gradient(100deg, #2478b5 0%, #075b9d 52%, #00447e 100%) !important;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    border-bottom: 2px solid rgba(0, 63, 116, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 18px rgba(0, 61, 109, 0.20);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
}

.modern-auth-page .legacy-blue-bar td {
    color: #f5f5f5 !important;
    background: transparent !important;
    font-size: 11px;
}

.modern-auth-page .legacy-blue-bar > tbody > tr > td:last-child {
    padding-right: 20px;
}

.modern-auth-page .legacy-context-bar {
    height: 28px;
    color: #5f6974 !important;
    background-color: rgba(255, 255, 255, 0.54) !important;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(236, 237, 238, 0.34)) !important;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 5px 16px rgba(30, 30, 30, 0.07);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

.modern-auth-page .legacy-context-bar td {
    padding: 0 20px !important;
    color: #5f6974 !important;
    background: transparent !important;
    font-size: 11px;
}

.modern-auth-page .legacy-page-shell {
    height: auto !important;
    min-height: calc(100vh - 124px);
    margin: 0;
    padding: 0;
    background: transparent !important;
    border-spacing: 0;
}

.modern-auth-page .legacy-page-shell > tbody > tr > td {
    padding-top: 46px;
    vertical-align: top;
}

.modern-auth-page .auth-card {
    position: relative;
    box-sizing: border-box;
    width: 400px;
    max-width: calc(100vw - 32px);
    margin: 0 auto 36px;
    overflow: hidden;
    text-align: left;
    background-color: #ffffff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(222, 234, 244, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-top: 2px solid rgba(7, 91, 157, 0.55);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.40),
        0 26px 64px rgba(24, 54, 78, 0.22);
    -webkit-backdrop-filter: blur(30px) saturate(155%);
    backdrop-filter: blur(30px) saturate(155%);
    isolation: isolate;
}

.modern-auth-page .auth-card:before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0, transparent 24%, transparent 68%, rgba(255, 255, 255, 0.12) 100%);
}

.modern-auth-page .auth-card-heading,
.modern-auth-page .auth-card-body {
    position: relative;
    z-index: 1;
}

.modern-auth-page .auth-card-heading {
    display: flex;
    flex-direction: column-reverse;
    padding: 34px 38px 14px;
    color: #303035;
    text-align: center;
    background: linear-gradient(180deg, rgba(225, 238, 248, 0.55), rgba(255, 255, 255, 0.08));
    border: 0;
    box-shadow: none;
}

.modern-auth-page .auth-eyebrow {
    margin-top: 9px;
    color: #6d7883;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 0.35px;
}

.modern-auth-page .auth-card-heading h1 {
    margin: 0;
    color: #29292e;
    font-size: 20px;
    font-weight: bold;
    line-height: 26px;
}

.modern-auth-page .auth-card-body {
    display: flex;
    flex-direction: column;
    padding: 22px 38px 30px;
    background-color: #ffffff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.40), rgba(223, 233, 242, 0.18));
}

.modern-auth-page .auth-field {
    margin-bottom: 22px;
}

.modern-auth-page .auth-field label {
    display: block;
    margin-bottom: 5px;
    color: #4b4b4b;
    font-size: 12px;
    font-weight: bold;
}

.modern-auth-page .auth-input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 8px;
    color: #2f2f2f;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(74, 74, 80, 0.20);
    border-radius: 0;
    box-shadow: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.modern-auth-page .auth-input-shell {
    position: relative;
}

.modern-auth-page .auth-input-shell > .fa {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 4px;
    width: 16px;
    color: #8a8a90;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 120ms ease;
}

.modern-auth-page .auth-input-shell .auth-input {
    padding-left: 30px;
}

.modern-auth-page .auth-input-shell:focus-within > .fa {
    color: #075b9d;
}

.modern-auth-page .auth-input:focus {
    border-color: #075b9d;
    box-shadow: 0 2px 0 rgba(7, 91, 157, 0.18);
}

.modern-auth-page .auth-static-value {
    box-sizing: border-box;
    min-height: 42px;
    padding: 11px 8px;
    color: #363636;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(74, 74, 80, 0.20);
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
}

.modern-auth-page .auth-submit {
    order: 3;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    margin-top: 0;
    color: #ffffff;
    background-color: #075b9d;
    background: linear-gradient(100deg, #697985 0%, #1672b2 45%, #005093 100%);
    border: 0;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 75, 136, 0.24);
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 120ms ease, box-shadow 120ms ease;
}

.modern-auth-page .auth-submit:hover,
.modern-auth-page .auth-submit:focus {
    background: linear-gradient(100deg, #586975 0%, #0c65a5 45%, #003f77 100%);
    box-shadow: 0 10px 24px rgba(0, 61, 112, 0.30);
}

.modern-auth-page .auth-forgot-password {
    order: 2;
    display: block;
    margin: -8px 0 24px;
    color: #075b9d !important;
    text-align: right;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.modern-auth-page .auth-forgot-password:hover {
    color: #003f77 !important;
    text-decoration: underline;
}

.modern-auth-page .auth-language {
    order: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    color: #6a6a6a;
    border-top: 1px solid #edf1f5;
    font-size: 11px;
}

.modern-auth-page .auth-language a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 10px;
    background: #f8fafc;
    border: 1px solid #dbe3ec;
    border-radius: 50%;
}

@supports (gap: 10px) {
    .modern-auth-page .auth-language a {
        margin-left: 0;
    }
}

.modern-auth-page .auth-language a:hover {
    background: #eaf3fa;
    border-color: rgba(7, 91, 157, 0.46);
}

.modern-auth-page .auth-language img {
    display: block;
    max-width: 24px;
    max-height: 24px;
}

.modern-auth-page .auth-captcha {
    margin: 4px 0 18px;
}

.modern-auth-page .auth-image-captcha img {
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
}

.modern-auth-page .auth-timeout-message {
    box-sizing: border-box;
    width: 420px;
    max-width: calc(100vw - 32px);
    margin: 0 auto 16px;
    padding: 12px 16px;
    color: #991b1b;
    text-align: left;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
}

.modern-auth-page #footerTableP {
    margin-top: 10px;
    color: #94a3b8;
    background: transparent;
}

.modern-auth-page #footerTableP td {
    padding: 12px 20px;
    color: #94a3b8;
    font-size: 10px;
}

.modern-auth-page .auth-support {
    box-sizing: border-box;
    width: 400px;
    max-width: calc(100vw - 32px);
    margin: -16px auto 28px;
    padding: 14px 18px;
    color: #64748b;
    text-align: center;
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.modern-auth-page .auth-support table {
    margin: 0 auto;
}

.modern-auth-page .auth-support td,
.modern-auth-page .auth-support font {
    color: #64748b !important;
    font-size: 11px !important;
}

/* Eski tablo yapısını kullanan forgot-password, hata ve 2FA ekranları. */
.modern-auth-page table.borderAgray {
    box-sizing: border-box;
    width: 460px !important;
    max-width: calc(100vw - 32px);
    margin: 0 auto 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(222, 234, 244, 0.22)) !important;
    border: 1px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(24, 54, 78, 0.18);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);
}

.modern-auth-page table.borderAgray table,
.modern-auth-page table.borderAgray td {
    color: #334155 !important;
    background: transparent !important;
    border-color: transparent !important;
}

.modern-auth-page table.borderAgray > tbody > tr > td {
    padding: 28px 32px !important;
}

.modern-auth-page table.borderAgray table.backtred > tbody > tr:first-child > td,
.modern-auth-page table.borderAgray table.backtgra > tbody > tr:first-child > td {
    padding: 18px 20px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(49, 119, 169, 0.96), rgba(0, 68, 126, 0.96)) !important;
    border-bottom: 3px solid #003f74 !important;
    border-radius: 10px;
    font-weight: bold;
}

.modern-auth-page table.borderAgray input.itblack,
.modern-auth-page table.borderAgray input[type="text"],
.modern-auth-page table.borderAgray input[type="password"] {
    box-sizing: border-box;
    width: 240px;
    max-width: 100%;
    height: 40px;
    padding: 0 12px;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.56) !important;
    border: 1px solid rgba(148, 163, 184, 0.52) !important;
    border-radius: 7px;
    outline: none;
}

.modern-auth-page table.borderAgray input.itblack:focus,
.modern-auth-page table.borderAgray input[type="text"]:focus,
.modern-auth-page table.borderAgray input[type="password"]:focus {
    border-color: #075b9d !important;
    box-shadow: 0 0 0 3px rgba(7, 91, 157, 0.13);
}

.modern-auth-page table.borderAgray input.ibblack,
.modern-auth-page table.borderAgray input[type="button"],
.modern-auth-page table.borderAgray input[type="submit"] {
    min-width: 150px;
    height: 42px;
    padding: 0 20px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1672b2, #005093) !important;
    border: 0 !important;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.modern-auth-page table.borderAgray a {
    color: #075b9d !important;
    font-weight: bold;
    text-decoration: none;
}

.modern-auth-page table.borderAgray a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .modern-auth-page .legacy-logo-row {
        height: 54px;
    }

    .modern-auth-page .legacy-logo-row td {
        padding: 0 10px;
    }

    .modern-auth-page .legacy-logo-row img {
        max-width: 145px;
        max-height: 34px;
    }

    .modern-auth-page .legacy-logo-row td:last-child img {
        max-width: 190px;
    }

    .modern-auth-page .legacy-context-bar td:last-child {
        display: none;
    }

    .modern-auth-page .legacy-page-shell > tbody > tr > td {
        padding-top: 24px;
    }

    .modern-auth-page .auth-card-heading,
    .modern-auth-page .auth-card-body {
        padding-left: 22px;
        padding-right: 22px;
    }
}
