@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Bungee+Outline&family=Google+Sans+Code:ital,wght,MONO@0,300..800,1;1,300..800,1&family=Instrument+Serif:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Playwrite+NZ+Basic:wght@100..400&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background: #0f0f0f;
    font-family: 'Josefin Sans', sans-serif !important;
}

* {
    font-family: 'Josefin Sans', sans-serif !important;
}

iconify-icon {
    font-size: 18px !important;
    display: inline-block !important;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

:root {
    --accent: #6288ff;
}

:root[data-theme="light"] {
    filter: invert(1) hue-rotate(180deg);
}

:root[data-theme="light"] img,
:root[data-theme="light"] .vc-item,
:root[data-theme="light"] .xen-captcha-box {
    filter: invert(1) hue-rotate(180deg);
}

/* Light mode: captcha widget'ı counter-invert et - doğal beyaz görünümünü koru */
:root[data-theme="light"] .xen-captcha-container {
    filter: invert(1) hue-rotate(180deg);
    background: #f9f9f9 !important;
    border-color: #d3d3d3 !important;
}

/* Light mode: counter-invert içindeki kutu ve metni de düzelt */
:root[data-theme="light"] .xen-captcha-container img,
:root[data-theme="light"] .xen-captcha-container .xen-captcha-box {
    filter: none !important;
    background: #f9f9f9 !important;
    border-color: #c9c9c9 !important;
}

/* Blue mode: captcha widget mavi tema renkleri */
:root[data-theme="blue"] .xen-captcha-container {
    background: rgba(0, 20, 50, 0.85) !important;
    border-color: rgba(98, 136, 255, 0.35) !important;
    box-shadow: 0 0 0 1px rgba(98, 136, 255, 0.1) !important;
}

:root[data-theme="blue"] .xen-captcha-box {
    background: rgba(0, 40, 90, 0.7) !important;
    border-color: rgba(98, 136, 255, 0.5) !important;
}

:root[data-theme="blue"] .xen-captcha-text {
    color: #c8e8ff !important;
}

:root[data-theme="blue"] .xen-captcha-brand {
    color: #88c8ff !important;
}

:root[data-theme="blue"] .xen-captcha-links a {
    color: #6ab0e8 !important;
}

:root[data-theme="blue"] body.auth-page {
    background: linear-gradient(-45deg, #000c1a, #002c55, #00152b, #004b80) !important;
    background-size: 400% 400% !important;
    animation: bluePulse 12s ease infinite !important;
}

@keyframes bluePulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.auth-card {
    width: 90%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.auth-lang-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.75rem;
    color: #444;
}

.auth-lang-switcher a {
    color: #666;
    text-decoration: none;
    transition: 0.2s;
}

.auth-lang-switcher a:hover,
.auth-lang-switcher a.active {
    color: #fff;
}

.auth-logo {
    width: 120px;
    margin-bottom: 1rem;
}

.auth-card h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-family: 'Josefin Sans', sans-serif !important;
    color: #fff;
    font-weight: 500;
}

.auth-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.auth-card input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.auth-card input:focus {
    border-color: #646464ff;
}

.auth-card button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: 'Josefin Sans', sans-serif !important;



    border-radius: 8px;
    font-weight: 300;
    cursor: pointer;
    margin-top: 0.5rem;

    background: transparent !important;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1)) !important;
    color: #fff !important;
}

.auth-card .back-link {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

.auth-card .back-link:hover {
    color: #fff;
}

.form-error {
    display: block;
    color: #ff3b3b;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}