grocery-app/frontend/src/styles/ItemClassificationModal.css
2026-01-02 14:27:39 -08:00

103 lines
1.7 KiB
CSS

.classification-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 1em;
}
.classification-modal-content {
background: white;
border-radius: 12px;
padding: 1.5em;
max-width: 480px;
width: 100%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.classification-modal-title {
font-size: 1.5em;
margin: 0 0 0.3em 0;
text-align: center;
color: #333;
}
.classification-modal-subtitle {
text-align: center;
color: #666;
margin: 0 0 1.5em 0;
font-size: 0.95em;
}
.classification-modal-field {
margin-bottom: 1em;
}
.classification-modal-field label {
display: block;
margin-bottom: 0.3em;
font-weight: 600;
color: #333;
font-size: 0.95em;
}
.classification-modal-field label .required {
color: #dc3545;
}
.classification-modal-select {
width: 100%;
padding: 0.6em;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 6px;
box-sizing: border-box;
transition: border-color 0.2s;
}
.classification-modal-select:focus {
outline: none;
border-color: #007bff;
}
.classification-modal-actions {
display: flex;
gap: 0.8em;
margin-top: 1.5em;
}
.classification-modal-btn {
flex: 1;
padding: 0.7em;
font-size: 1em;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
transition: all 0.2s;
}
.classification-modal-btn-skip {
background: #6c757d;
color: white;
}
.classification-modal-btn-skip:hover {
background: #5a6268;
}
.classification-modal-btn-confirm {
background: #007bff;
color: white;
}
.classification-modal-btn-confirm:hover {
background: #0056b3;
}