/**
 * Maiolo Time Tracker - Frontend Styles
 */

/* ... (Existing styles for wrapper, nav, table) ... */

/* Frontend Input Styling */
.mtt-frontend-table .mtt-input,
.mtt-frontend-table .mtt-select,
.mtt-frontend-table .mtt-textarea {
	width: 95%;
	max-width: 100%;
    padding: 4px 6px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
    background-color: #fff;
    color: #32373c;
    font-size: inherit; /* Inherit from theme */
    line-height: 1.4;
    box-sizing: border-box;
    vertical-align: middle; /* Align better with text */
}
.mtt-frontend-table .mtt-select {
    height: auto; /* Override potential theme fixed heights */
    line-height: normal;
}

.mtt-frontend-table input[type="time"].mtt-input {
    min-width: 100px;
}
.mtt-frontend-table input[type="text"].mtt-input-break {
    max-width: 70px;
    text-align: center;
}

/* Frontend Checkbox Styling */
.mtt-frontend-table .mtt-fe-chargecode-checkboxes,
.mtt-frontend-table .mtt-fe-tag-checkboxes {
	max-height: 80px; /* Slightly smaller */
	overflow-y: auto;
	padding: 5px;
	border: 1px solid #e5e5e5;
	background-color: #fff;
    font-size: 0.9em;
    margin-top: 5px; /* Space below textarea */
}
.mtt-frontend-table .mtt-fe-chargecode-checkboxes label,
.mtt-frontend-table .mtt-fe-tag-checkboxes label {
	display: block;
	margin-bottom: 2px;
	white-space: nowrap;
    cursor: pointer;
    font-weight: normal;
}
.mtt-frontend-table .mtt-fe-chargecode-checkboxes label input[type="checkbox"],
.mtt-frontend-table .mtt-fe-tag-checkboxes label input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

/* Frontend Action Button */
.mtt-frontend-table .mtt-fe-save-row {
    padding: 2px 5px; /* Make slightly smaller */
    line-height: 1;
    vertical-align: middle;
}

/* Row saved feedback */
tr.mtt-fe-entry-row.mtt-row-saved {
    background-color: #e7f7df !important; /* Light green */
    transition: background-color 0.5s ease-out;
}