﻿/* Wrapper for inline edit component */
.inline-edit-wrapper {
    position: relative;
    width: 100%;
}

/* Style for the displayed value */
.span-editable {
    cursor: pointer;
}

/* Style for the input form */
.inline-form {
    display: none;
    width: 100%;
}

    .inline-form input {
        border: 1px solid #ced4da;
        padding: 0.375rem 0.75rem;
        border-radius: 0.25rem;
        width: 100%;
        box-sizing: border-box;
    }

.inline-edit-display {
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid transparent;
    display: inline-block;
}

    .inline-edit-display:hover {
        border: 1px solid #ccc;
        background-color: #f8f9fa;
    }

.form-select {
    width: auto;
}

/* Ensure select is hidden by default */
.hidden-select {
    display: none !important;
}

.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .autocomplete-suggestions li {
        padding: 8px;
        cursor: pointer;
    }

        .autocomplete-suggestions li:hover {
            background-color: #f0f0f0;
        }

.status-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
}

.status-label {
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.indicator-widget {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    gap: 12px;
}

.light-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #28a745;
    box-shadow: 0 0 8px #28a745;
    flex-shrink: 0;
}

.indicator-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.indicator-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.indicator-subtext {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.2;
}
