.mh-mirrors-container,
.mh-mirrors-container * {
	box-sizing: border-box;
	font-family: "IYX", IYX;
}

.mh-mirrors-container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px 36px;
	direction: rtl !important;
	text-align: right;
	font-family: "IYX", IYX;
}

.mh-mirrors-tabs {
	direction: rtl;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 40px;
	background: #fff;
	border-radius: 12px;
	overflow-x: auto;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
	padding-bottom: 10px;
}

.mh-mirror-tab {
	    min-width: 250px;
    padding: 20px 22px 10px;
	border: 0;
	background: transparent !important;
	color: #444 !important;
	cursor: pointer;
	font-family: "IYX", IYX;
	position: relative;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	    font-weight: 700;
    font-size: 16px;
}

.mh-tab-icon {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: #ddd;
	display: block;
	overflow: hidden;
	flex: 0 0 30px;
}

.mh-tab-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mh-tab-icon.has-image {
	background: transparent;
}

.mh-mirror-tab:hover {
	background: #d33a38;
}

.mh-mirror-tab.active {
	color: #d33a38;
}

.mh-mirror-tab.active::after {
	content: '';
	position: absolute;
	right: 18px;
	left: 18px;
	bottom: 0;
	height: 3px;
	border-radius: 4px;
	background: #d33a38;
}

.mh-mirror-tab:focus-visible {
	outline: 2px solid #2f80ed;
	outline-offset: -3px;
}

.mh-mirrors-grid-wrapper {
	direction: rtl;
	position: relative;
	    margin-top: 50px;
}

.mh-mirrors-grid {
	display: none;
	direction: rtl !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 20px;
	align-items: stretch;
}

.mh-mirrors-grid.active {
	display: grid;
}

.mh-mirrors-empty,
.mh-mirrors-message {
	grid-column: 1 / -1;
	text-align: center;
	color: #777;
	padding: 40px 15px;
}

.mh-mirror-card {
	direction: rtl;
	width: 100%;
	min-width: 0;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(20, 28, 45, .07);
	transition: transform .2s ease, box-shadow .2s ease;
}

.mh-mirror-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 34px rgba(20, 28, 45, .11);
}

.mh-mirror-card-body {
	min-height: 100%;
	padding: 25px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.mh-mirror-card-header {
	direction: rtl;
	display: flex;
	align-items: center;
	gap: 14px;
}

.mh-mirror-card-thumb {
	order: 0;
	width: 57px;
	height: 57px;
	border-radius: 13px;
	flex: 0 0 57px;
	overflow: hidden;
	background: #d8d8d8;
}

.mh-mirror-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mh-mirror-card-info {
	order: 1;
	flex: 1;
	min-width: 0;
	text-align: right;
}

.mh-mirror-card-title {
	margin: 0;
	color: #3f4046;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
}

.mh-mirror-card-subtitle {
	margin: 5px 0 0;
	color: #929296;
	font-size: 18px;
	font-weight: bold;
	direction: ltr;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mh-mirror-card-link-box {
	direction: ltr;
	width: 100%;
	min-width: 0;
	background: #f5f5f7;
	border-radius: 6px;
	padding: 9px 7px;
	overflow: hidden;
}

.mh-mirror-card-link-text {
	display: block;
	min-width: 0;
	direction: ltr;
	text-align: left;
	color: #45454b;
	font-family: "IYX", IYX;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mh-mirror-card-meta {
	direction: rtl;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-size: 16px;
}

.mh-mirror-card-status {
	order: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	  font-size: 15px ;
    font-weight: 400 ;
}

.mh-mirror-card-date {
	order: 1;
	color: #404044;
	direction: ltr;
	text-align: left;
	font-size: 15px ;
    font-weight: 400 ;
	white-space: nowrap;
}

.mh-mirror-status-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	display: inline-block;
}

.mh-mirror-card-status.active {
	color: #20bd59;
}

.mh-mirror-card-status.active .mh-mirror-status-dot {
	background: #20bd59;
}

.mh-mirror-card-status.inactive {
	color: #e14b4b;
}

.mh-mirror-card-status.inactive .mh-mirror-status-dot {
	background: #e14b4b;
}

.mh-mirror-card-actions {
	direction: rtl;
	display: flex;
	gap: 20px;
	margin-top: 2px;
}

.mh-mirror-btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 12px;
	border-radius: 10px;
	text-decoration: none !important;
	cursor: pointer;
	font-family: "IYX", IYX;
	transition: .2s ease;
}

.mh-mirror-btn-copy {
	order: 0;
	background: #fff;
	color: #404044;
	border: 1.5px solid #000000;
}

.mh-mirror-btn-copy:hover {
	background: #c93b3a;
	color:white;
}

.mh-mirror-btn-direct {
	order: 1;
	background: #d7e9ff;
	color: #404044;
	border: 1px solid transparent;
}

.mh-mirror-btn-direct:hover {
	background: #c9e1ff;
	color: #222;
}

.mh-mirror-btn-copy.copied {
	background: #20bd59;
	border-color: #20bd59;
	color: #fff;
}

.mh-mirror-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 999999;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	background: #222;
	color: #fff;
	border-radius: 9px;
	padding: 11px 22px;
	font-size: 14px;
	transition: .25s ease;
}

.mh-mirror-toast.show {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (max-width: 900px) {
	.mh-mirrors-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mh-mirror-card-title {
		font-size: 23px;
	}

	.mh-mirror-card-subtitle {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	.mh-mirrors-container {
		padding-inline: 10px;
	}

	.mh-mirrors-tabs {
		justify-content: flex-start;
		width: 100%;
		margin-bottom: 25px;
	}

	.mh-mirror-tab {
		min-width: 130px;
		padding-inline: 14px;
	}

	.mh-mirrors-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.mh-mirror-card-body {
		padding: 22px 15px 16px;
	}

	.mh-mirror-card-actions {
		gap: 12px;
	}

	.mh-mirror-btn {
		font-size: 18px;
		padding: 8px !important;
	}
}

@media (max-width: 767px) {
    .mh-mirrors-tabs {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 16px;
        border-radius: 18px;
        background: #fff;
    }

    .mh-mirrors-tab {
        width: 100%;
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 18px;
        border: 1px solid #9db9ee;
        border-radius: 15px;
        background: #fff;
        color: #333;
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.6;
    }

    .mh-mirrors-tab img,
    .mh-mirrors-tab-icon {
        display: none;
    }

    .mh-mirrors-tab.is-active,
    .mh-mirrors-tab.active,
    .mh-mirrors-tab[aria-selected="true"] {
        border-color: #ef3d3d;
        color: #ef3d3d;
        background: #fff;
    }

    .mh-mirrors-tab::after {
        display: none;
    }
	.mh-tab-icon{
		display:none !important;
	}
	.mh-mirror-tab.active
	{
		    border: 1.5px solid #C93B3A;
    	border-radius: 10px;
		color:#C93B3A !important;
	}
	.mh-mirror-tab.active::after {
	content: '';
	position: absolute;
	right: 18px;
	left: 18px;
	bottom: 0;
	height: 0px !important;
	border-radius: 4px;
	background: #d33a38;
}
	.mh-mirror-tab
	{
		border: 1.5px solid #96AACF;
    	border-radius: 10px;
		padding: 12px !important;
	}
}
