.record-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.record-form {
    width: 100%;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
}

.quick-weigh-form {
    max-width: 800px;
    margin: 0 auto;
}

.quick-weigh-form .input-group-text {
    min-width: 45px;
    justify-content: center;
}

.quick-weigh-form .form-select {
    padding-left: 45px;
    background-position: right 0.75rem center, 0.75rem center;
    background-size: 16px 12px, 1.5em 1.5em;
    background-repeat: no-repeat, no-repeat;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-container {
    max-width: 200px;
}

.image-container img {
    width: 100%;
    height: auto;
}

.image-container .btn-danger {
    opacity: 0.8;
}

.image-container .btn-danger:hover {
    opacity: 1;
}

.previous-records {
    overflow-x: auto;
}

.view-section {
    transition: opacity 0.3s ease-in-out;
}

.view-toggle-btn {
    transition: all 0.2s ease;
}

.view-toggle-btn.active {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

.view-toggle-btn:not(.active):hover {
    background-color: #f0f0f0;
    border-color: #667eea;
}

/* Lighter gray placeholders and darker black input text */
.record-form .form-control::placeholder {
    color: #d0d0d0 !important;
    opacity: 1;
}

.record-form .form-control {
    color: #000000 !important;
    font-weight: 500;
}

.record-form textarea.form-control::placeholder {
    color: #d0d0d0 !important;
    opacity: 1;
}

/* Make placeholder text even more distinct - lighter and italic */
.record-form input.form-control::placeholder,
.record-form textarea.form-control::placeholder {
    color: #c8c8c8 !important;
    font-style: italic;
    opacity: 0.8;
} 