/* Elden Ring inspired CSS for Bingo Brawlers Streaming Companion - Clean Version */

:root {
    --background-dark: #1a1a1a;
    --text-color: #e0d8b0;
    --gold-accent: #c7a957;
    --bright-link: #fffcf4;
    --blue-accent: #2262ac;
    --input-background: #252525;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;   
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    font-family: 'Cinzel', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(to bottom, #0f0f0f, #1f1f1f);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.title {
    color: var(--gold-accent);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.styled-form {
    background-color: rgba(51, 51, 51, 0.7);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    backdrop-filter: blur(5px);
    margin: 20px auto;
}

#registerAccountForm {
    max-width: 300px;  
}

#loginForm {
    max-width: 300px;
}

.form-title {
    font-size: 1.5em;
    text-align: center;
}

input {
    padding: 10px;
    border: 1px solid var(--gold-accent);
    background-color: var(--input-background);
    color: var(--text-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--blue-accent);
}

input::placeholder {
    color: rgba(224, 216, 176, 0.5);
}

button {
    background-color: var(--gold-accent);
    color: var(--background-dark);
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    background-color: var(--blue-accent);
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--blue-accent);
    text-decoration: underline;
}

p {
    margin-top: 20px;
    text-align: center;
}

.slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.slider-checkbox {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.slider-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--input-background);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-color);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--gold-accent);
}

input:focus+.slider {
    box-shadow: 0 0 2px var(--gold-accent);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Optional: Style for the label next to the checkbox */
.slider-checkbox-label {
    margin-left: 10px;
    color: var(--text-color);
    vertical-align: super;
}