/* ============================================================================
 *     Copyright (c) 2026 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
 *
 *     This software and all information contained therein is confidential and
 *     proprietary and shall not be duplicated, used, disclosed or disseminated in any
 *     way except as authorized by the applicable license agreement, without the
 *     express written permission of CA. All authorized reproductions must be marked
 *     with this language.
 *
 *     EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO THE
 *     EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS SOFTWARE
 *     WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY
 *     IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
 *     PURPOSE.  IN NO EVENT WILL CA BE LIABLE TO THE END USER OR ANY
 *     THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR INDIRECT, FROM THE
 *     USE OF THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, LOST PROFITS,
 *     BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS
 *     EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
 * ============================================================================ */

/* =============================================================================
 * UCF Modal Styles - CSS for UCF modal dialogs and embedded tables
 * ============================================================================= */

/* Container Styles */
.ucf-modal-flex-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Widget Card Styles */
.ucf-modal-widget {
    flex: 1;
    min-width: 280px;
    height: 200px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.ucf-modal-widget-tall {
    height: 230px;
}

.ucf-modal-widget-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Widget Header Styles */
.ucf-modal-widget-header {
    color: #34495e;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    flex-shrink: 0;
}

.ucf-modal-widget-header-blue {
    border-bottom: 2px solid #007bff;
}

.ucf-modal-widget-header-green {
    border-bottom: 2px solid #28a745;
}

.ucf-modal-widget-header-red {
    border-bottom: 2px solid #dc3545;
}

.ucf-modal-widget-header-gray {
    border-bottom: 2px solid #6c757d;
}

/* Table Styles */
.ucf-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ucf-modal-table-small {
    font-size: 12px;
}

.ucf-modal-table-medium {
    font-size: 14px;
}

/* Table Header Styles */
.ucf-modal-table thead tr {
    background-color: #f8f9fa;
}

.ucf-modal-table thead tr.sticky-header {
    position: sticky;
    top: 0;
}

.ucf-modal-table th {
    border: 1px solid #dee2e6;
    padding: 6px;
    font-weight: bold;
    font-size: 12px;
}

.ucf-modal-table-small th {
    padding: 5px;
    font-size: 11px;
}

.ucf-modal-table-medium th {
    padding: 8px;
}

.ucf-modal-table th.text-left {
    text-align: left;
}

.ucf-modal-table th.text-center {
    text-align: center;
}

/* Table Body Styles */
.ucf-modal-table td {
    border: 1px solid #dee2e6;
    padding: 6px;
    font-size: 12px;
}

.ucf-modal-table-medium td {
    padding: 8px;
}

.ucf-modal-table td.text-center {
    text-align: center;
}

.ucf-modal-table td.text-bold {
    font-weight: bold;
}

/* Row Styles */
.ucf-modal-table tbody tr.row-even {
    background-color: #f8f9fa;
}

.ucf-modal-table tbody tr.row-total {
    background-color: #e9ecef;
    font-weight: bold;
}

/* Text Styles */
.ucf-modal-text-muted {
    color: #6c757d;
}

.ucf-modal-text-danger {
    color: #dc3545;
}

/* Section Styles */
.ucf-modal-section {
    margin-bottom: 20px;
}

.ucf-modal-section-header {
    color: #2c3e50;
    margin-bottom: 15px;
}

.ucf-modal-section-subheader {
    color: #34495e;
    margin-bottom: 10px;
}

.ucf-modal-section-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* List Styles */
.ucf-modal-list {
    line-height: 1.8;
    margin-left: 20px;
}

.ucf-modal-list-item {
    margin-bottom: 10px;
}

/* Note Box Styles */
.ucf-modal-note-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    margin-top: 20px;
}

.ucf-modal-note-text {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

