:root {
    --bg: #000000;
    --card: #0a0a0a;
    --border: #222222;
    --accent: #ffffff;
    --text-main: #ffffff;
    --text-muted: #888888;
    --modal-overlay: rgba(0, 0, 0, 0.98);
}

html.light-mode {
    --bg: #f5f5f5;
    --card: #ffffff;
    --border: #dddddd;
    --accent: #000000;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --modal-overlay: rgba(255, 255, 255, 0.98);
}

* {
    box-sizing: border-box;
}

body.public-auth {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text-main);
    font-family: "Century Gothic", sans-serif;
    transition: background 0.3s, color 0.3s;
}

body.public-auth.public-auth--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.standalone-container {
    width: 100%;
    text-align: center;
}

.standalone-container--narrow {
    max-width: 400px;
    margin: 0 auto;
}

.standalone-container--medium {
    max-width: 420px;
    margin: 0 auto;
}

.standalone-container--wide {
    max-width: 500px;
    margin: 40px auto 0;
}

.standalone-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 4px;
}

.standalone-logo {
    max-width: 180px;
    margin-bottom: 30px;
}

.logo-white {
    display: inline-block;
}

.logo-black {
    display: none;
}

html.light-mode .logo-white {
    display: none;
}

html.light-mode .logo-black {
    display: inline-block;
}

.standalone-title {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--text-main);
}

.standalone-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.standalone-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.standalone-success {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    border: 1px solid var(--accent);
    padding: 20px;
    border-radius: 4px;
}

.standalone-back-link {
    display: block;
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.standalone-back-link:hover {
    color: var(--text-main);
}

.standalone-theme-toggle {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.theme-toggle-link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.standalone-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
    font-weight: bold;
}

.standalone-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

html.light-mode .standalone-btn {
    border-color: #dddddd;
    color: #000000;
}

html.light-mode .standalone-btn:hover {
    border-color: #000000;
    background: #f9f9f9;
}
