:root {
    --text-color: #ffffff;
    --background-dark: #17191C;
    --input-background: #17191C;
    --input-border: #E33E3E;
    --button-background: #7F8792;
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    background-image: url('https://cloud.kuzguntech.com/apps/theming/img/background/jenna-kim-the-globe-dark.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    padding-top: 15vh;
}

.login-container {
    background: var(--background-dark);
    padding: 2rem;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--input-background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: #9CA3AF;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input::placeholder {
    color: #9CA3AF;
}

input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
}

input:invalid {
    border-color: var(--input-border);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password svg {
    width: 22px;
    height: 22px;
}

.login-button {
    width: 100%;
    padding: 0.875rem;
    background: var(--button-background);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
}

.arrow-icon {
    position: absolute;
    right: 1rem;
    font-size: 1.25rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    text-align: center;
}

.links a {
    color: #E5E7EB;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #fff;
}

footer {
    position: fixed;
    bottom: 2rem;
    text-align: center;
    width: fit-content;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-color);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

footer p {
    white-space: nowrap;
}

.error-message {
    color: var(--input-border);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    display: none;
} 