@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

.modern-login-body {
    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(circle at top left,
            rgba(34, 211, 238, .10),
            transparent 28%),

        radial-gradient(circle at bottom right,
            rgba(16, 185, 129, .06),
            transparent 30%),

        #07111f;
}

.modern-login-container {
    width: 100%;
    max-width: 1700px;

    height: 100vh;

    margin: auto;

    display: grid;
    grid-template-columns: 1.35fr .75fr;

    gap: 22px;

    padding: 18px 28px;
    align-items: center;
}

/* SOL */

.modern-left-side {
    position: relative;

    overflow: hidden;

    border-radius: 34px;

    padding: 30px 36px;
    height: 720px;

    background:
        linear-gradient(145deg,
            rgba(15, 23, 42, .96),
            rgba(8, 47, 73, .88));

    border: 1px solid rgba(34, 211, 238, .10);
}

.modern-navbar {
    position: relative;
    z-index: 2;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modern-logo-icon {
    width: 52px;
    height: 52px;

    border-radius: 16px;

    background: rgba(34, 211, 238, .12);

    border: 1px solid rgba(34, 211, 238, .20);

    color: #22d3ee;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.modern-logo h2 {
    color: white;

    font-size: 20px;

    font-weight: 850;
}

.modern-logo p {
    color: #94a3b8;

    font-size: 12px;

    margin-top: 4px;
}

.modern-hero-content {
    margin-top: 24px;
}

.modern-badge {
    display: inline-flex;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(34, 211, 238, .10);

    border: 1px solid rgba(34, 211, 238, .18);

    color: #67e8f9;

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 20px;
}

.modern-hero-content h1 {
    color: white;

    font-size: 44px;

    line-height: 1.05;

    font-weight: 900;

    margin-bottom: 14px;

    max-width: 520px;
}

.modern-hero-content h1 span {
    color: #22d3ee;
}

.modern-hero-content p {
    color: #b6c5d7;

    font-size: 14px;

    line-height: 1.8;

    max-width: 520px;
}

.modern-hero-image {
    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    height: 360px;

    overflow: visible;
}

.modern-hero-image img {
    width: 100%;

    max-width: 540px;

    height: 340px;

    object-fit: cover;

    object-position: center top;

    border-radius: 32px;

    border: 1px solid rgba(255, 255, 255, .06);

    filter:
        drop-shadow(0 0 40px rgba(34, 211, 238, .18));
}

/* SAĞDAKİ KARTLAR */

.modern-feature-grid {
    position: absolute;

    right: 34px;
    top: 190px;

    width: 285px;

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.modern-feature-card {
    min-height: 84px;

    background: rgba(15, 23, 42, .76);

    border: 1px solid rgba(148, 163, 184, .12);

    border-radius: 22px;

    padding: 14px;

    display: flex;
    align-items: center;

    gap: 14px;

    backdrop-filter: blur(10px);
}

.modern-feature-card i {
    width: 50px;
    height: 50px;

    min-width: 50px;

    border-radius: 16px;

    background: rgba(34, 211, 238, .12);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #22d3ee;

    font-size: 17px;
}

.modern-feature-card h4 {
    color: white;

    font-size: 15px;

    margin-bottom: 4px;
}

.modern-feature-card span {
    color: #94a3b8;

    font-size: 12px;
}

.modern-feature-card:nth-child(4) {
    display: none;
}

/* DUYURU */

.modern-news-box {
    margin-top: 18px;

    background: rgba(15, 23, 42, .72);

    border: 1px solid rgba(148, 163, 184, .12);

    border-radius: 24px;

    padding: 16px;

    max-width: 620px;
}

.modern-news-box h3 {
    color: white;

    font-size: 18px;

    margin-bottom: 12px;

    display: flex;
    align-items: center;

    gap: 10px;
}

.modern-news-box h3 i {
    color: #22d3ee;
}

.news-item {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #cbd5e1;

    font-size: 13px;

    padding: 12px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.news-item:last-child {
    border: none;
}

.news-item span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #22d3ee;
}

/* LOGIN */

.modern-right-side {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 720px;
}

.modern-login-card {
    width: 100%;
    max-width: 420px;

    background: rgba(15, 23, 42, .82);

    border: 1px solid rgba(148, 163, 184, .12);

    border-radius: 34px;

    padding: 32px;

    backdrop-filter: blur(16px);
}

.modern-login-top {
    text-align: center;

    margin-bottom: 28px;
}

.modern-login-icon {
    width: 74px;
    height: 74px;

    border-radius: 22px;

    margin: auto auto 18px;

    background: rgba(34, 211, 238, .12);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #22d3ee;

    font-size: 28px;
}

.modern-login-top h2 {
    color: white;

    font-size: 30px;

    font-weight: 900;

    margin-bottom: 8px;
}

.modern-login-top p {
    color: #94a3b8;

    font-size: 14px;
}

.modern-input-group {
    margin-bottom: 18px;
}

.modern-input-group label {
    display: block;

    color: #f8fafc;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 10px;
}

.modern-input,
.modern-input-group input {
    width: 100% !important;

    height: 56px !important;

    border: none !important;

    outline: none !important;

    border-radius: 18px !important;

    background: #101b2d !important;

    border: 1px solid rgba(148, 163, 184, .10) !important;

    color: white !important;

    padding: 0 18px !important;

    font-size: 14px !important;
}

.modern-input::placeholder,
.modern-input-group input::placeholder {
    color: #64748b !important;
}

.modern-input:focus,
.modern-input-group input:focus {
    border-color: #22d3ee !important;

    box-shadow:
        0 0 0 4px rgba(34, 211, 238, .08);
}

.modern-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 8px 0 22px;
}

.modern-remember {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #94a3b8;

    font-size: 13px;
}

.modern-remember input {
    accent-color: #22d3ee;
}

.modern-login-actions a {
    color: #22d3ee;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.modern-login-btn {
    width: 100%;

    height: 58px;

    border: none;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #0284c7,
            #06b6d4);

    color: white;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.modern-divider {
    text-align: center;

    margin: 22px 0;

    color: #64748b;

    font-size: 13px;
}

.modern-register-btn {
    width: 100%;

    height: 56px;

    border-radius: 18px;

    background: #101b2d;

    border: 1px solid rgba(148, 163, 184, .10);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}

/* MOBIL */

@media(max-width:1250px) {

    .modern-login-container {
        grid-template-columns: 1fr;
    }

    .modern-left-side {
        display: none;
    }

    .modern-login-body {
        overflow: auto;

        .modern-login-body {
            height: 100vh;
        }
    }

    @media(max-width:600px) {

        .modern-login-container {
            padding: 14px;
        }

        .modern-login-card {
            padding: 24px;

            border-radius: 28px;
        }

        .modern-login-top h2 {
            font-size: 24px;
        }
    }

    .login-footer {
        text-align: center;

        margin-top: 22px;

        color: #64748b;

        font-size: 12px;

        letter-spacing: .3px;
    }

    .modern-login-card {
        width: 100%;
        max-width: 420px;

        background: rgba(15, 23, 42, .82);

        border: 1px solid rgba(148, 163, 184, .12);

        border-radius: 34px;

        padding: 32px;

        backdrop-filter: blur(16px);
    }

    /* REGISTER LOGIN İLE AYNI OLSUN */

    .modern-login-card {
        width: 100%;
        max-width: 420px;

        background: rgba(15, 23, 42, .82);

        border: 1px solid rgba(148, 163, 184, .12);

        border-radius: 34px;

        padding: 32px;

        backdrop-filter: blur(16px);
    }

    .modern-login-top {
        text-align: center;
        margin-bottom: 28px;
    }

    .modern-login-icon {
        width: 74px;
        height: 74px;

        border-radius: 22px;

        margin: auto auto 18px;

        background: rgba(34, 211, 238, .12);

        display: flex;
        align-items: center;
        justify-content: center;

        color: #22d3ee;

        font-size: 28px;
    }

    .modern-login-top h2 {
        color: white;
        font-size: 30px;
        font-weight: 900;

        margin-bottom: 8px;
    }

    .modern-login-top p {
        color: #94a3b8;
        font-size: 14px;
    }

    .modern-input-group {
        margin-bottom: 18px;
    }

    .modern-input-group input {
        height: 56px !important;
        border-radius: 18px !important;
    }

    .modern-login-btn {
        height: 58px;
        border-radius: 18px;
    }

    .modern-register-btn {
        height: 56px;
        border-radius: 18px;
    }

    .login-footer {
        text-align: center;

        margin-top: 22px;

        color: #64748b;

        font-size: 12px;
    }
}



.login-footer {
    text-align: center;

    margin-top: 22px;

    color: #64748b;

    font-size: 12px;
}

/* SADECE KAYDOL SAYFASI KÜÇÜLTME */

.modern-login-card:has(.fa-user-plus) {
    max-width: 380px;
    padding: 24px;
}

.modern-login-card:has(.fa-user-plus) .modern-login-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 22px;
    margin-bottom: 12px;
}

.modern-login-card:has(.fa-user-plus) .modern-login-top {
    margin-bottom: 18px;
}

.modern-login-card:has(.fa-user-plus) .modern-login-top h2 {
    font-size: 24px;
}

.modern-login-card:has(.fa-user-plus) .modern-login-top p {
    font-size: 13px;
}

.modern-login-card:has(.fa-user-plus) .modern-input-group {
    margin-bottom: 12px;
}

.modern-login-card:has(.fa-user-plus) .modern-input-group input {
    height: 48px !important;
    border-radius: 15px !important;
}

.modern-login-card:has(.fa-user-plus) .modern-login-btn,
.modern-login-card:has(.fa-user-plus) .modern-register-btn {
    height: 48px;
}

.modern-login-card:has(.fa-user-plus) .modern-divider {
    margin: 14px 0;
}

.modern-login-card:has(.fa-user-plus) .login-footer {
    margin-top: 12px;
}

/* PASSWORD RESET PAGES */

.modern-login-body {

    margin: 0;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    overflow: hidden;

    background:
        radial-gradient(circle at top left,
            rgba(0, 180, 255, .14),
            transparent 28%),

        radial-gradient(circle at bottom right,
            rgba(255, 0, 90, .10),
            transparent 28%),

        linear-gradient(135deg,
            #020617,
            #031225,
            #04152c);

    font-family: 'Poppins', sans-serif;
}

.modern-login-card {

    animation: authFade .7s ease;

    width: 420px;

    padding: 40px;

    border-radius: 34px;

    background:
        linear-gradient(180deg,
            rgba(10, 25, 45, .97),
            rgba(5, 12, 24, .97));

    border: 1px solid rgba(255, 255, 255, .06);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .35);

    backdrop-filter: blur(12px);
}

.modern-login-top {
    text-align: center;
    margin-bottom: 30px;
}

.modern-login-top h2 {

    color: white;

    font-size: 34px;

    margin-bottom: 10px;
}

.modern-login-top p {

    color: #9fb3c8;

    line-height: 1.6;
}

.modern-input-group {
    margin-bottom: 22px;
}

.modern-input-group label {

    display: block;

    color: #dbeafe;

    margin-bottom: 10px;

    font-weight: 600;
}

.modern-input-group input {

    width: 100%;

    height: 58px;

    border: none;

    outline: none;

    border-radius: 18px;

    padding: 0 18px;

    background:
        rgba(255, 255, 255, .04);

    color: white;

    font-size: 15px;

    border: 1px solid rgba(255, 255, 255, .05);
}

.modern-input-group input:focus {

    border-color: #38bdf8;

    box-shadow:
        0 0 18px rgba(56, 189, 248, .22);
}

.modern-login-btn {

    width: 100%;

    height: 58px;

    border: none;

    border-radius: 18px;

    margin-top: 10px;

    background:
        linear-gradient(135deg,
            #06b6d4,
            #0ea5e9);

    color: white;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;
}

.modern-login-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(14, 165, 233, .30);
}

.modern-register-btn {

    margin-top: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #cbd5e1;

    font-weight: 600;
}

@keyframes authFade {

    from {
        opacity: 0;
        transform:
            translateY(25px) scale(.96);
    }

    to {
        opacity: 1;
        transform:
            translateY(0) scale(1);
    }
}

.forgot-password-link {

    color: #38bdf8;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.forgot-password-link:hover {

    color: #67e8f9;

    text-shadow:
        0 0 12px rgba(56, 189, 248, .45);
}

/* ŞİFRE SIFIRLAMA ORTALAMA DÜZELTME */

html,
body {
    width: 100%;
    min-height: 100%;
}

body.modern-login-body {
    min-height: 100vh !important;
    width: 100vw !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden;
}

body.modern-login-body .modern-login-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;

    width: 430px !important;
    max-width: calc(100vw - 40px) !important;

    margin: 0 auto !important;
}