/* ========================================
   SIGNIN HEADER (Login/Register Pages)
   ======================================== */
:root {
    --gt-bg: #07111f;
    --gt-surface: #0d1b2d;
    --gt-surface-2: #10243a;
    --gt-text: #f5f7fb;
    --gt-muted: #9eacbd;
    --gt-border: rgba(255,255,255,.10);
    --gt-accent: #35d39a;
}

[data-bs-theme="light"] {
    --gt-bg: #f8f9fa;
    --gt-surface: #ffffff;
    --gt-surface-2: #eef2f6;
    --gt-text: #17202b;
    --gt-muted: #667085;
    --gt-border: rgba(7,17,31,.12);
}

/* Sticky header like landing page */
.signin-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: color-mix(in srgb, var(--gt-bg) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gt-border);
}

.signin-nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px clamp(14px, 3vw, 32px);
}

/* Logo - same style as landing */
.signin-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.signin-brand img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Theme toggle - matches landing page exactly */
.signin-theme-toggle {
    border: 1px solid var(--gt-border);
    background: transparent;
    color: var(--gt-text);
    border-radius: 10px;
    padding: 8px 11px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.signin-theme-toggle:hover {
    background: var(--gt-accent);
    border-color: var(--gt-accent);
    color: #000;
}

.theme-icon {
    line-height: 1;
}

/* Body - no padding needed for sticky header */
body {
    margin: 0;
    background: var(--gt-bg);
    color: var(--gt-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

/* Mobile */
@media (max-width: 768px) {
    .signin-nav {
        min-height: 60px;
    }
    
    .signin-brand img {
        height: 45px;
    }
}





/* =========================================
   SIGN-IN THEME TOGGLE
   ========================================= */

.signin-theme-toggle {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--gt-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--gt-text);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
}

/* Icon container */
.signin-theme-toggle .theme-icon {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
}

/* SVG */
.signin-theme-toggle .theme-icon img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;

    display: block;
    object-fit: contain;
}

/* Hover */
.signin-theme-toggle:hover {
    transform: scale(1.05);
}


/* =========================================
   LIGHT THEME
   ========================================= */

[data-bs-theme="light"] .signin-theme-toggle {
    background: #ffffff;
    border-color: var(--gt-border);
}


/* =========================================
   DARK THEME
   ========================================= */

[data-bs-theme="dark"] .signin-theme-toggle {
    background: var(--gt-accent);
    border-color: var(--gt-accent);
}