body {
    background-color: #f8f9fa;
    padding-bottom: 2rem;
}
.header {
    background-color: #5c6bc0;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}
.header h1 {
    color: white;
    font-weight: 500;
}
.image-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 1rem;
    margin-bottom: 1rem;
    min-height: 300px;
    position: relative;
}
.display-area {
    position: relative;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.display-area img {
    max-width: 100%;
    max-height: 400px;
}
.dropzone {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 2px dashed #ced4da;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.3s;
    padding: 2rem;
}
.dropzone:hover {
    border-color: #0d6efd;
}
.file-input {
    display: none;
}
.settings-panel {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 1rem;
    display: none;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 99;
    backdrop-filter: blur(2px);
}
.stats-bar {
    background-color: rgba(0,0,0,0.7);
    color: white;
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 4px;
    display: none;
    white-space: nowrap;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.image-state-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}
.action-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.action-buttons-left {
    display: flex;
    gap: 0.5rem;
    margin-right: auto;
}
.action-buttons-right {
    display: flex;
    gap: 0.5rem;
}
.settings-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.settings-row .form-select,
.settings-row .form-control {
    width: auto;
    min-width: 100px;
}
.settings-row .input-group {
    width: auto;
}
.settings-row .input-group input {
    width: 80px;
} 