.bcms-widget {
    width: 100%;
}

.bcms-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.bcms-widget div {
	background-color: #f2f4f5;
	border-top: 1px solid #d6d9dd;
	border-bottom: 1px solid #d6d9dd;
	margin: 0 -20px 20px;
	margin-bottom: 20px;
	padding: 12px 20px;
}
.bcms-widget div strong {text-transform: uppercase;font-size:13.5px; color: #1e3132;}
.bcms-widget div p { margin:5px 0; font-size:13.5px}
.bcms-save-form > label[for="save_search_name"] {
	font-size: 14px !important;
	margin-bottom: 0 !important;
	font-weight: 500 !important;
}
.bcms-subtitle {
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 0;
	font-weight: 500;
}

.bcms-save-form {
    display: flex;
    flex-direction: column;
}

.bcms-save-form label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.bcms-save-form input[type="text"] {
    margin-bottom: 10px;
    padding: 6px;
}

.bcms-save-form button {
    width: 100%;
    padding: 8px;
    cursor: pointer;
}

.bcms-dropdown {
    width: 100%;
    padding: 6px;
    margin-top: 6px;
}
/* BCMS  Managment Screen */
table.canned_search-table thead tr th {
	border-bottom: 1px solid #D6D9DD !important;
    font-weight: 500;
}
.canned-search-th.remove-th,
.canned-search-remove-td {
    width:15%;
    text-align:center;
}
.canned-search-td:hover {
	opacity: .6;
}
.canned-search-remove-td i::before {
	color: #f47956;
    font-size: 26px;
}
.bcms-delete-search:hover {
	cursor: pointer;
    opacity: .7;    
}
/* Search History Deleted */
.bcms-empty-message {
    display:none;
    margin-top:20px;
    font-weight:500;
}
/* BCMS Delete Search Modal */
/* Modal wrapper */
.bcms-modal {
    position: fixed;
    inset: 0;/* stretches from top 0 → bottom 0 and left 0 → right 0, i.e., it covers the entire screen. */
    z-index: 9999;
}

/* Dark overlay */
.bcms-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

/* Modal box */
.bcms-modal-content {
    position: relative;
    background: #fff;
    max-width: 400px;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Buttons */
.bcms-modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.bcms-modal-actions button.bcms-modal-cancel {
    background-color: #20BECC !important;
    border-color: #20BECC !important;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.bcms-modal-actions button.bcms-modal-confirm {
    background-color: #f77b59 !important;
    color: #fff;
    border-color: #f77b59 !important;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}
.bcms-modal-actions button.bcms-modal-confirm:hover,
.bcms-modal-actions button.bcms-modal-cancel:hover {
    opacity: .7;
}