:root {
    --bg-color: #fafafa;
    --box-bg: #fff;
    --border-color: #dbdbdb;
    --text-color: #262626;
    --input-bg: #fafafa;
    --primary-color: #0095f6;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --box-bg: #000000;
        --border-color: #363636;
        --text-color: #f5f5f5;
        --input-bg: #121212;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin-top: 30px;
}

.auth-box {
    background-color: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 1px;
    padding: 10px 0;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: 'Grand Hotel', cursive;
    font-size: 40px;
    font-weight: 400;
    margin: 22px auto 12px;
    cursor: pointer;
}

.auth-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px;
}

.input-group {
    margin-bottom: 6px;
    width: 100%;
}

.input-group input {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 9px 8px 7px;
    font-size: 12px;
    color: var(--text-color);
    outline: none;
}

.input-group input:focus {
    border-color: #a8a8a8;
}

.auth-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    padding: 7px 16px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.auth-btn:hover {
    background-color: #1877f2;
}

.auth-btn:disabled {
    background-color: rgba(0, 149, 246, 0.3);
    cursor: default;
}

.divider {
    display: flex;
    align-items: center;
    margin: 14px 24px 18px;
    width: calc(100% - 48px);
}

.divider .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
}

.divider .or {
    margin: 0 18px;
    color: #8e8e8e;
    font-size: 13px;
    font-weight: 600;
}

.fb-login {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #385185;
    font-weight: 600;
    margin-top: 8px;
    cursor: pointer;
}

.fb-login .material-icons {
    margin-right: 8px;
    font-size: 20px;
}

.forgot-password {
    font-size: 12px;
    color: #00376b;
    text-align: center;
    margin-top: 20px;
    font-weight: 400;
}

.signup-box p {
    font-size: 14px;
    margin: 15px;
}

.get-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.get-app p {
    font-size: 14px;
    margin: 10px 0;
}

.app-badges {
    display: flex;
    gap: 8px;
}

.app-badges img {
    height: 40px;
    cursor: pointer;
}

.signup-text {
    color: #8e8e8e;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    line-height: 20px;
    margin-bottom: 10px;
}

.go-back-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text-color);
    color: var(--bg-color) !important;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, background-color 0.2s;
}

.go-back-btn:hover {
    transform: translateY(-2px);
    color: var(--bg-color);
}
