﻿
/*Stock hgroup css*/

/* Match DevExtreme styling */
.dx-texteditor-input {
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    font-size: 14px;
}

    .dx-texteditor-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.form-check-label {
    font-weight: normal;
}

#stockGroupForm .form-control,
#stockGroupForm .form-select {
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

#stockGroupForm label {
    font-weight: 600;
    margin-bottom: 4px;
}

#stockGroupForm .row {
    margin-bottom: 1rem;
}

#stockGroupForm .form-check-label {
    font-weight: 500;
    margin-left: 4px;
}

/* Optional: For dark mode themes, improve input visibility */
#stockGroupForm input,
#stockGroupForm select {
    background-color: #1e1e1e;
    color: #ffffff;
    border-color: #444;
}

#stockGroupForm label {
    color: #dddddd;
}

/* Style for the edit button in the grid */
.dx-datagrid-edit-button {
    color: #007bff;
    border: none;
    background: transparent;
    padding: 5px;
}

    .dx-datagrid-edit-button:hover {
        color: #0056b3;
        background-color: rgba(0, 123, 255, 0.1);
        border-radius: 4px;
    }

select.disabled-options {
    color: #6c757d;
    background-color: #f8f9fa;
}

    select.disabled-options option:disabled {
        color: #ccc;
    }

    select.disabled-options option:not(:disabled) {
        color: #212529;
    }

/* Make sure the dropdown shows disabled state properly */
.dx-dropdowneditor-input-wrapper.disabled-options .dx-texteditor-input {
    background-color: #f8f9fa;
    color: #6c757d;
}

.detail-grid-container {
    margin: 10px 0;
}

.detail-grid {
    margin-top: 5px;
}

.detail-grid-container h5 {
    margin-bottom: 5px;
    font-weight: bold;
}
