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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1c0c3d;
    background-image: url('/bg-auth.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.auth-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
}

/* Make logo 35% bigger on desktop/tablet (non-mobile devices) */
@media (min-width: 768px) {
    .auth-logo {
        max-width: 540px; /* 400px * 1.35 = 540px */
    }
}

.auth-container {
    background: #000000;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    margin-left: 20px;
    margin-right: 20px;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-container input {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 16px;
    background: #000000;
    color: #ffffff;
}

.auth-container input::placeholder {
    color: #999;
}

.auth-container input:focus {
    outline: none;
    border-color: #667eea;
}

.auth-container button {
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.auth-container button:hover {
    transform: translateY(-2px);
}

.auth-container button:active {
    transform: translateY(0);
}

.auth-container p {
    text-align: center;
    margin-top: 20px;
    color: #cccccc;
}

.auth-container a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.auth-container a:hover {
    text-decoration: underline;
}

#error-message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #ff6b6b;
}
