body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-header {
	width: 96%;
	margin: 0 auto;
	text-align: center;
}

.auth-container, #upload-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logout-btn {
    background-color: #dc3545;
    padding: 8px 16px;
    width: auto;
}

.logout-btn:hover {
    background-color: #c82333;
}

h2 {
    color: #333;
    margin: 0;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.settings label {
	font-size: 11px;
}
.download-section {
    margin-top: 2rem;
    text-align: center;
}

#login-message, #register-message, #upload-message {
    color: #dc3545;
    margin: 0.5rem 0;
    text-align: center;
}

.switch-form {
    text-align: center;
    margin: 1rem 0 0;
    color: #666;
}

.switch-form a {
    color: #007bff;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

#fileInput {
    border: 2px dashed #ddd;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

#fileInput:hover {
    border-color: #007bff;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
