/* ===== FIXED POSITION MHL VIEW STYLES ===== */
.mhl-view-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.mhl-fixed-header {
    position: sticky;
    top: 0;
    background-color: #f9f9f9;
    padding: 15px 15px 0 15px;
    z-index: 10;
    border-bottom: 1px solid #ddd;
}

.mhl-fixed-header h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
}

.mhl-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
}

.mhl-fixed-footer {
    position: sticky;
    bottom: 0;
    background-color: #f9f9f9;
    padding: 15px;
    border-top: 1px solid #ddd;
    z-index: 10;
}

/* ===== MHL TAB STYLES ===== */
.stabs {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
}

.stab-button {
    flex: 1;
    padding: 15px 10px;
    font-size: 18px;
    font-weight: bold;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    text-align: center;
}

.stab-button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.stab-panel {
    display: none;
    padding: 15px 0;
}

.stab-panel.active {
    display: block;
}

/* ===== CHECKLIST STYLES ===== */
.checklist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    background-color: #fff;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item-image {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    object-fit: contain;
}

.checklist-item-label {
    flex: 1;
    font-size: 16px;
    padding: 0 10px;
}

.checklist-item-checkbox {
    transform: scale(1.5);
    margin-left: 10px;
    min-width: 25px;
    min-height: 25px;
}

/* ===== OPPORTUNITIES COUNTER ===== */
.opportunities-counter-container {
    margin-bottom: 15px;
    padding: 0 5px;
}

.opportunities-counter-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.opportunities-counter-label {
    margin-right: 10px;
    font-weight: bold;
}

.opportunities-counter {
    background-color: #f44336;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

.opportunities-counter-note {
    color: #777777;
    font-size: 12px;
    font-style: italic;
    margin-left: 5px;
    margin-top: 3px;
}

/* ===== MHL BODY STATE ===== */
body.mhl-active {
    overflow: hidden;
}

/* ===== IOS SAFARI FIXES ===== */
@supports (-webkit-touch-callout: none) {
    .mhl-view-container {
        height: -webkit-fill-available;
    }
}