body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

#login-container, #app-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

#logout-button {
    background-color: #d9534f;
}

#logout-button:hover {
    background-color: #c9302c;
}

h1, h2 {
    color: #0056b3;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 1rem;
}

legend {
    font-weight: bold;
    color: #0056b3;
    padding: 0 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input[type="number"] {
    width: 100px;
    margin-right: 10px;
}

.form-group button {
    margin-left: 10px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"], input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.2s;
    margin-right: 10px;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#picture-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 4px;
    text-align: left;
}

#picture-list div {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
}

#picture-list label {
    display: inline-block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.error {
    color: #d9534f;
    font-weight: bold;
}

#progress-container {
    margin-top: 1.5rem;
}

#progress-bar {
    width: 100%;
    height: 20px;
}

#result-container a {
    display: inline-block;
    margin: 10px 10px 10px 0;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

#result-container a.error-link {
    background-color: #d9534f;
}

#result-container a:hover {
    opacity: 0.9;
} 