﻿:root {
    --primary: #344e41;
    --primary-dark: #283c32;
    --primary-darker: #1f2e27;
    --background: #f7f8f5;
    --background-soft: #eef2ed;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --success: #10b981;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

/* ======================================================
   PAGE
   ====================================================== */

.login-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
}


/* ======================================================
   LEFT PANEL
   ====================================================== */

.login-visual {
    position: relative;
    width: 57%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 64px;
    overflow: hidden;
    background: linear-gradient( 180deg, #f7f8f5 0%, #f4f6f2 50%, #eef2ed 100% );
}


/* Background glow */

.visual-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(75px);
}

.visual-glow-top {
    width: 420px;
    height: 420px;
    top: -170px;
    left: -150px;
    background: rgba(227, 235, 220, .65);
}

.visual-glow-bottom {
    width: 440px;
    height: 440px;
    right: -100px;
    bottom: 50px;
    background: rgba(233, 239, 229, .7);
}


/* ======================================================
   BRAND
   ====================================================== */

.brand-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(52, 78, 65, .15);
}

    .brand-icon .material-symbols-outlined {
        font-size: 24px;
    }

.brand-name {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 23px;
    letter-spacing: -.5px;
}

.brand-happs {
    font-weight: 600;
}

.brand-hub {
    color: var(--primary);
    font-style: italic;
    font-weight: 700;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(229, 231, 235, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 2px 6px rgba(31, 41, 55, .04);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.platform-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}


/* ======================================================
   VISUAL CONTENT
   ====================================================== */

.visual-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 0;
}

.visual-copy {
    max-width: 620px;
}

    .visual-copy h1 {
        margin: 0;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: clamp(34px, 3vw, 46px);
        line-height: 1.15;
        letter-spacing: -1.4px;
        font-weight: 700;
    }

        .visual-copy h1 span {
            color: var(--primary);
        }

    .visual-copy p {
        max-width: 570px;
        margin: 18px 0 0;
        font-size: 16px;
        line-height: 1.7;
        color: var(--text-secondary);
    }


/* ======================================================
   FEATURES
   ====================================================== */

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(229, 231, 235, .5);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 2px 8px rgba(31, 41, 55, .05);
    color: #374151;
    font-size: 12px;
    font-weight: 500;
}

    .feature-pill .material-symbols-outlined {
        color: var(--primary);
        font-size: 17px;
    }


/* ======================================================
   ORBIT
   ====================================================== */

.commerce-orbit {
    position: relative;
    width: min(440px, 90%);
    height: 330px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border-style: dashed;
}

.orbit-ring-outer {
    inset: 10px;
    border-width: 1px;
    border-color: rgba(156, 163, 175, .45);
    animation: orbitSpin 48s linear infinite;
}

.orbit-ring-inner {
    inset: 53px;
    border-width: 1px;
    border-color: rgba(156, 163, 175, .25);
    animation: orbitSpinReverse 32s linear infinite;
}

.orbit-marketplaces {
    position: absolute;
    inset: 0;
    animation: orbitSpin 40s linear infinite;
}

.marketplace-position {
    position: absolute;
}

.marketplace-amazon {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.marketplace-ebay {
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
}

.marketplace-walmart {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.marketplace-etsy {
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
}

.marketplace-card-counter {
    animation: orbitSpinReverse 40s linear infinite;
}

.marketplace-card {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(229, 231, 235, .65);
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 20px rgba(31, 41, 55, .09);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.amazon-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #fff7ed;
    color: #ea580c;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
}

.ebay-logo {
    display: flex;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -2px;
}

.ebay-e {
    color: #e53238;
}

.ebay-b {
    color: #0064d2;
}

.ebay-a {
    color: #f5af02;
}

.ebay-y {
    color: #86b817;
}

.walmart-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(0, 113, 220, .08);
    color: #ffc220;
}

    .walmart-icon span {
        font-size: 17px;
    }

.etsy-logo {
    color: #d95b28;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
}


/* ======================================================
   GLOBE
   ====================================================== */

.commerce-globe {
    position: relative;
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    background: linear-gradient( 45deg, #e3ebdc, #ffffff 55%, #f2f6ed );
    box-shadow: 0 15px 35px rgba(52, 78, 65, .15);
    color: rgba(52, 78, 65, .8);
}

    .commerce-globe::before {
        content: "";
        position: absolute;
        inset: 1px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 50%;
    }

    .commerce-globe svg {
        width: 100%;
        height: 100%;
    }

.globe-grid {
    fill: none;
    stroke: currentColor;
    stroke-width: .8;
    stroke-opacity: .35;
    stroke-dasharray: 2 3;
}

.globe-line {
    stroke: currentColor;
    stroke-width: 1;
    stroke-opacity: .35;
}

.continent {
    fill: currentColor;
    fill-opacity: .14;
}

.trade-dot {
    fill: #344e41;
}

.trade-dot-main {
    fill: #283c32;
}

.globe-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(229, 231, 235, .8);
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 12px rgba(31, 41, 55, .09);
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

    .globe-badge span {
        color: var(--primary);
        font-size: 15px;
    }


/* ======================================================
   LEFT FOOTER
   ====================================================== */

.visual-footer {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 11px;
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sync-status span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--success);
        animation: statusPulse 2s infinite;
    }

.footer-brand {
    font-weight: 500;
}


/* ======================================================
   RIGHT PANEL
   ====================================================== */

.login-panel {
    width: 43%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border-left: 1px solid var(--border);
    background: white;
    box-shadow: -3px 0 18px rgba(31, 41, 55, .025);
}

.login-container {
    width: 100%;
    max-width: 410px;
}


/* Mobile brand */

.mobile-brand {
    display: none;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
}

.mobile-brand-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary);
    color: white;
}

.mobile-brand strong {
    margin-left: 1px;
    color: var(--primary);
    font-style: italic;
}


/* ======================================================
   HEADING
   ====================================================== */

.login-heading {
    margin-bottom: 32px;
}

    .login-heading h2 {
        margin: 0;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: -.7px;
        font-weight: 700;
    }

    .login-heading p {
        margin: 7px 0 0;
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.6;
    }


/* ======================================================
   FORM
   ====================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        color: #374151;
        font-size: 12px;
        font-weight: 600;
    }

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .label-row label {
        margin-bottom: 7px;
    }

.forgot-password {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 13px;
    color: var(--text-muted);
    font-size: 19px;
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 43px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: white;
    color: var(--text);
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

    .form-control::placeholder {
        color: #b2b7bf;
    }

    .form-control:hover {
        border-color: #d4d8de;
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(52, 78, 65, .10);
    }

.password-control {
    padding-right: 43px;
}

.password-toggle {
    position: absolute;
    right: 7px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 7px;
}

    .password-toggle:hover {
        background: #f7f8f7;
        color: #4b5563;
    }

    .password-toggle span {
        font-size: 19px;
    }


/* ======================================================
   VALIDATION
   ====================================================== */

.validation-summary {
    display: none;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.5;
}

    .validation-summary.validation-summary-errors {
        display: block;
    }

    .validation-summary ul {
        margin: 0;
        padding-left: 16px;
    }

.field-validation {
    min-height: 0;
    margin-top: 5px;
    color: #b91c1c;
    font-size: 11px;
}

.input-validation-error {
    border-color: #ef4444;
}


/* ======================================================
   REMEMBER
   ====================================================== */

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -2px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

    .remember-label input {
        width: 15px;
        height: 15px;
        margin: 0;
        accent-color: var(--primary);
        cursor: pointer;
    }

.remember-info {
    color: var(--text-muted);
    font-size: 10px;
}


/* ======================================================
   BUTTON
   ====================================================== */

.login-button {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 3px;
    border: 0;
    border-radius: 11px;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 78, 65, .16);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease, transform .1s ease, box-shadow .18s ease;
}

    .login-button:hover {
        background: var(--primary-dark);
        box-shadow: 0 5px 15px rgba(52, 78, 65, .20);
    }

    .login-button:active {
        background: var(--primary-darker);
        transform: translateY(1px);
    }

    .login-button:disabled {
        opacity: .75;
        cursor: wait;
    }

    .login-button .material-symbols-outlined {
        font-size: 18px;
    }


/* ======================================================
   SECURITY
   ====================================================== */

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 11px;
}

    .security-info span:first-child {
        color: var(--primary);
        font-size: 17px;
    }

.security-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 11px;
    color: var(--text-muted);
    font-size: 9px;
}

    .security-tags > span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .security-tags i {
        width: 6px;
        height: 6px;
        display: inline-block;
        border-radius: 50%;
        background: var(--success);
    }

.security-separator {
    display: block !important;
}


/* ======================================================
   ANIMATIONS
   ====================================================== */

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitSpinReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

@keyframes buttonSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-button.loading #btnIcon {
    animation: buttonSpin 1s linear infinite;
}


/* ======================================================
   TABLET
   ====================================================== */

@media (max-width: 1100px) {

    .login-visual {
        width: 54%;
        padding: 40px;
    }

    .login-panel {
        width: 46%;
        padding: 36px;
    }

    .platform-badge {
        display: none;
    }

    .visual-copy h1 {
        font-size: 34px;
    }
}


/* ======================================================
   MOBILE
   ====================================================== */

@media (max-width: 850px) {

    .login-page {
        display: block;
        min-height: 100vh;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        width: 100%;
        min-height: 100vh;
        padding: 28px 22px;
        border-left: 0;
        box-shadow: none;
    }

    .login-container {
        max-width: 430px;
    }

    .mobile-brand {
        display: flex;
    }

    .login-heading {
        margin-bottom: 28px;
    }

        .login-heading h2 {
            font-size: 25px;
        }
}


/* ======================================================
   SMALL MOBILE
   ====================================================== */

@media (max-width: 420px) {

    .login-panel {
        padding: 25px 18px;
    }

    .remember-info {
        display: none;
    }

    .security-tags {
        flex-wrap: wrap;
    }

    .security-separator {
        display: none !important;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .orbit-marketplaces,
    .marketplace-card-counter,
    .orbit-ring,
    .sync-status span {
        animation: none;
    }
}

/* ======================================================
   MARKETPLACE INFINITE MARQUEE
   ====================================================== */

.marketplace-marquee {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-top: 48px;
    overflow: hidden;
    padding: 12px 0;
}


/* ======================================================
   TRACK
   ====================================================== */

.marketplace-marquee-track {
    display: flex;
    width: 200%;
    animation: marketplaceMarquee 20s linear infinite;
    will-change: transform;
}


/* Her grup ekran genişliğinin tamamını kaplar */

.marketplace-marquee-group {
    flex: 0 0 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-right: 18px;
}


/* ======================================================
   CARD
   ====================================================== */

.marketplace-logo-card {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 1px solid rgba(229, 231, 235, .85);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 18px rgba(31, 41, 55, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .marketplace-logo-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(31, 41, 55, .10);
    }


/* ======================================================
   LOGOS
   ====================================================== */

.marketplace-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 125px;
    max-height: 46px;
    object-fit: contain;
}


/* eBay biraz yatay olduğu için */

.marketplace-logo-card:nth-child(1) .marketplace-logo {
    max-width: 120px;
}


/* Amazon */

.marketplace-logo-card:nth-child(2) .marketplace-logo {
    max-width: 125px;
}


/* Walmart */

.marketplace-logo-card:nth-child(3) .marketplace-logo {
    max-width: 130px;
}


/* Etsy */

.marketplace-logo-card:nth-child(4) .marketplace-logo {
    max-width: 105px;
}


/* ======================================================
   EDGE FADES
   ====================================================== */

.marketplace-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 55px;
    z-index: 10;
    pointer-events: none;
}

.marketplace-marquee-fade-left {
    left: 0;
    background: linear-gradient( 90deg, rgba(243, 246, 241, 1) 0%, rgba(243, 246, 241, .80) 30%, rgba(243, 246, 241, 0) 100% );
}

.marketplace-marquee-fade-right {
    right: 0;
    background: linear-gradient( 270deg, rgba(243, 246, 241, 1) 0%, rgba(243, 246, 241, .80) 30%, rgba(243, 246, 241, 0) 100% );
}


/* ======================================================
   ANIMATION
   ====================================================== */

@keyframes marketplaceMarquee {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}