:root {
    --primary: #2f5d50;
    --primary-dark: #173d33;
    --secondary: #e8a45c;
    --accent: #f6c17d;

    --text: #17211e;
    --muted: #72817b;

    --background: #f6f7f4;
    --white: #ffffff;

    --border: #e4e9e5;

    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    font-family: "DM Sans", sans-serif;

    color: var(--text);
    background: var(--background);

    -webkit-font-smoothing: antialiased;
}


/* ================================
   ANA YAPI
================================ */

.login-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: minmax(480px, 1.15fr) minmax(450px, 0.85fr);
}


/* ================================
   SOL TARAF
================================ */

.brand-side {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 48px 64px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #153f35 0%,
            #205d4f 55%,
            #1a473d 100%
        );
}


/* ARKA PLAN */

.brand-background {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}


.gradient-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(5px);

    opacity: 0.35;
}


.orb-one {
    width: 500px;
    height: 500px;

    top: -180px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            #e8a45c,
            transparent 70%
        );
}


.orb-two {
    width: 650px;
    height: 650px;

    bottom: -350px;
    right: -180px;

    background:
        radial-gradient(
            circle,
            #79a99a,
            transparent 70%
        );
}


.orb-three {
    width: 300px;
    height: 300px;

    top: 40%;
    right: -120px;

    background:
        radial-gradient(
            circle,
            #f6c17d,
            transparent 70%
        );
}


/* ================================
   MARKA
================================ */

.brand-content {
    position: relative;
    z-index: 2;
    overflow: hidden;
}


.logo {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 90px;
}


.logo-icon {
    width: 58px;
    height: 58px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    color: #fff;

    background: rgba(255,255,255,0.12);

    border:
        1px solid
        rgba(255,255,255,0.2);

    border-radius: 18px;

    backdrop-filter: blur(10px);
}


.logo-icon .eye {
    position: absolute;

    right: -6px;
    bottom: -4px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;

    color: var(--primary-dark);

    background: var(--accent);

    border-radius: 50%;
}


.logo-text {
    display: flex;
    flex-direction: column;

    font-family: "Manrope", sans-serif;

    letter-spacing: 3px;

    font-size: 14px;
}


.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.logo-text strong {
    font-size: 21px;

    letter-spacing: 5px;
}


/* ================================
   HERO
================================ */

.hero-content {
    max-width: 720px;
    overflow: hidden;
}


.badge {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 25px;

    padding: 10px 15px;

    font-size: 13px;
    font-weight: 600;

    color: #e8f0ed;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius: 50px;
}


.badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px
        rgba(246,193,125,0.15);
}


.hero-content h1 {
    max-width: 650px;

    margin-bottom: 24px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(32px, 4vw, 56px);

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -1.5px;

    word-wrap: break-word;

    overflow-wrap: break-word;
}


.hero-content h1 span {
    display: block;

    color: var(--accent);
}


.hero-content p {
    max-width: 600px;

    color:
        rgba(255,255,255,0.72);

    font-size: 17px;

    line-height: 1.8;
}


/* ================================
   ÖZELLİKLER
================================ */

.feature-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-top: 55px;
}


.feature {
    padding: 18px;

    background:
        rgba(255,255,255,0.07);

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius: 18px;

    backdrop-filter: blur(8px);
}


.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color: var(--primary-dark);

    background: var(--accent);

    border-radius: 13px;
}


.feature strong {
    display: block;

    margin-bottom: 6px;

    font-size: 14px;
}


.feature span {
    color:
        rgba(255,255,255,0.55);

    font-size: 12px;

    line-height: 1.5;
}


/* ================================
   SOL FOOTER
================================ */

.brand-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 15px;

    color:
        rgba(255,255,255,0.55);

    font-size: 13px;
}


.brand-footer i {
    margin-right: 7px;

    color: var(--accent);
}


.footer-line {
    width: 70px;
    height: 1px;

    background:
        rgba(255,255,255,0.25);
}


/* ================================
   LOGIN TARAFI
================================ */

.login-side {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        linear-gradient(
            135deg,
            #fbfcfa,
            #f2f5f2
        );
}


.login-container {
    width: 100%;
    max-width: 460px;
}


/* MOBİL MARKA */

.mobile-brand {
    display: none;
}


/* ================================
   HEADER
================================ */

.login-header {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 42px;
}


.login-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    color: var(--primary);

    background: #e8f0ed;

    border-radius: 18px;
}


.login-header h2 {
    margin-bottom: 7px;

    font-family: "Manrope", sans-serif;

    font-size: 30px;

    font-weight: 700;

    letter-spacing: -1px;
}


.login-header p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* ================================
   INPUT
================================ */

.input-group-custom {
    margin-bottom: 24px;
}


.input-group-custom label {
    display: block;

    margin-bottom: 10px;

    color: #35443e;

    font-size: 13px;

    font-weight: 700;
}


.input-wrapper {
    position: relative;
}


.input-wrapper input {
    width: 100%;
    height: 62px;

    padding:
        0 52px 0 52px;

    outline: none;

    font-family: inherit;

    font-size: 15px;

    color: var(--text);

    background: white;

    border:
        1px solid var(--border);

    border-radius: 16px;

    transition:
        0.25s ease;
}


.input-wrapper input::placeholder {
    color: #a8b2ad;
}


.input-wrapper input:hover {
    border-color: #c9d4ce;
}


.input-wrapper input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(47,93,80,0.1);
}


.input-icon {
    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #91a099;

    transition:
        0.2s ease;
}


.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}


/* ================================
   PASSWORD TOGGLE
================================ */

.password-toggle {
    position: absolute;

    right: 14px;
    top: 50%;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    cursor: pointer;

    color: #7f8d86;

    background: transparent;

    border: none;

    border-radius: 10px;
}


.password-toggle:hover {
    color: var(--primary);

    background: #f2f5f2;
}


/* ================================
   LOGIN BUTTON
================================ */

.btn-login {
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 10px;

    padding: 0 10px 0 24px;

    cursor: pointer;

    color: white;

    background:
        linear-gradient(
            135deg,
            #205d4f,
            #153f35
        );

    border: none;

    border-radius: 18px;

    box-shadow:
        0 12px 30px
        rgba(32,93,79,0.25);

    transition:
        0.25s ease;
}


.btn-login span {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}


.btn-login strong {
    font-size: 16px;
}


.btn-login small {
    color:
        rgba(255,255,255,0.6);

    font-size: 11px;
}


.btn-login:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 40px
        rgba(32,93,79,0.32);
}


.btn-login:active {
    transform: translateY(0);
}


.button-arrow {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    background: var(--accent);

    border-radius: 14px;

    transition:
        0.25s ease;
}


.btn-login:hover .button-arrow {
    transform: translateX(3px);
}


/* ================================
   ERROR
================================ */

.alert-login {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 24px;

    padding: 15px;

    color: #8a3535;

    background: #fff5f4;

    border:
        1px solid #f4d6d2;

    border-radius: 15px;
}


.alert-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #c95050;

    background: #ffe5e2;

    border-radius: 12px;
}


.alert-login strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}


.alert-login span {
    font-size: 12px;
}


/* ================================
   SECURITY
================================ */

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 30px;

    color: #8a9690;

    font-size: 12px;
}


.security-info i {
    color: var(--primary);
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1100px) {

    .login-layout {
        grid-template-columns:
            1fr 0.9fr;
    }

    .brand-side {
        padding: 45px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 850px) {

    .login-layout {
        display: block;
    }

    .brand-side {
        display: none;
    }

    .login-side {
        min-height: 100vh;

        padding: 30px 20px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;

        justify-content: center;

        gap: 10px;

        margin-bottom: 55px;

        color: var(--primary);

        font-family: "Manrope", sans-serif;

        font-size: 14px;

        font-weight: 800;

        letter-spacing: 2px;
    }

    .mobile-logo {
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        color: white;

        background: var(--primary);

        border-radius: 14px;
    }

}


@media (max-width: 480px) {

    .login-side {
        padding: 25px 16px;
    }

    .login-header {
        align-items: flex-start;
    }

    .login-header h2 {
        font-size: 25px;
    }

}