/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #333;
    color: white;
}

.modal-open .modal {
    display: flex !important;
    z-index: 2000 !important;
}

.modal-open {
    overflow: hidden;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal h3 {
    color: white;
}

.modal label {
    color: white;
}

.modal input[type="password"] {
    background-color: white;
    color: #333;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background-color: #ddd;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.tab.active {
    background-color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== MHL PROGRESS BAR STYLES ===== */
.mhl-progress-container {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 4px;
    position: relative;
    height: 20px;
    overflow: hidden;
}

.mhl-progress-bar {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.mhl-progress-label {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 20px;
    z-index: 10;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

.mhl-progress-red {
    background-color: #f44336;
}

.mhl-progress-orange {
    background-color: #ff9800;
}

.mhl-progress-green {
    background-color: #4CAF50;
}

.mhl-progress-blue {
    background-color: #2196F3;
}

/* ===== MHL DETAILS SECTION ===== */
.mhl-details-section {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.mhl-details-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.mhl-details-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.mhl-details-value {
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    min-height: 20px;
    white-space: pre-wrap;
}

/* ===== REGULAR PROGRESS BAR ===== */
#myProgress {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 5px;
    margin: 10px 0;
}

#myBar {
    height: 30px;
    background-color: #4CAF50;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

/* ===== SUCCESS MESSAGES ===== */
.report-mhl-success-message {
    padding: 10px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.report-success-icon {
    font-size: 1.5em;
    margin-right: 10px;
    color: #28a745;
}

/* ===== LOADING MESSAGES ===== */
.loading-message {
    padding: 10px;
    text-align: center;
    color: #666;
    font-style: italic;
}