.torrent-container {
	margin: 10px 0px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.torrent-name {
	margin: 0;
	padding: 10px 5px;
	background: linear-gradient(135deg, var(--mainouter-color) 0%, var(--submenu-color) 100%);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	color: var(--body-color);
	font-family: var(--body-font-family);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	row-gap: 12px;
	column-gap: 3px;
	transition: all 0.3s ease;
}

.torrent-name:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.torrent-name b {
	color: var(--body-color);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	flex: 1 1 260px;
	line-height: 1.5;
	font-size: calc(var(--body-font-size) + 0.5pt);
}

.torrent-name .text-red {
	color: #ff4444;
	font-weight: bold;
	text-shadow: 0 0 8px rgba(255, 68, 68, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
	padding: 2px 6px;
	background: rgba(255, 68, 68, 0.1);
	border-radius: 8px;
	border: 1px solid rgba(255, 68, 68, 0.3);
	display: inline-block;
}

.torrent-original-title {
	font-size: calc(var(--body-font-size));
	color: var(--url-font-color);
	opacity: 0.9;
	font-weight: 500;
	font-style: italic;
}

.torrent-name .icon-link,
.torrent-name .moderate-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	color: white;
	transition: background 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
	text-decoration: none;
}

.torrent-name .badge {
	margin-left: 6px;
}

.torrent-name .icon-link:hover,
.torrent-name .moderate-btn:hover,
.reseed-icon:hover {
	transform: translateY(-1px);
}

.torrent-icon {
	border-radius: 4px;
	width: 16px;
	height: 16px;
	object-fit: contain;
	vertical-align: middle;
	transition: all 0.3s ease;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
	flex-shrink: 0;
}

.torrent-name a:hover .torrent-icon,
.torrent-icon:hover, .reseed-icon:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.original-title {
	margin: 5px 0;
	padding: 10px;
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	font-size: calc(var(--body-font-size) + 1pt);
}

.action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	font-weight: 600;
	font-size: calc(var(--body-font-size));
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
	font-family: var(--body-font-family);
	background: var(--submenu-color);
	color: var(--submenu-font-color);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.32);
	cursor: pointer;
}

.action-button i {
	font-size: calc(var(--body-font-size) + 2pt);
}

.action-button:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
	filter: brightness(1.05);
}

.action-button:focus-visible {
	outline-offset: 2px;
}

.btn-download {
	background: linear-gradient(135deg, #3da861 0%, #246f43 100%);
	color: #e8f5e9;
	border-color: #246f43;
}
.btn-download:hover {
	background: linear-gradient(135deg, #2d8a51 0%, #47b770 100%);
	box-shadow: 0 8px 18px rgba(36, 111, 67, 0.45);
	color: #ffffff;
}

.btn-edit {
	background: linear-gradient(135deg, rgba(58, 58, 50, 0.95) 0%, rgba(34, 33, 30, 0.95) 100%);
	color: #d4d3c8;
	border-color: rgba(58, 58, 50, 0.75);
}
.btn-edit:hover {
	background: linear-gradient(135deg, rgba(70, 70, 62, 0.95) 0%, rgba(46, 45, 42, 0.95) 100%);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
	border-color: rgba(70, 70, 62, 0.85);
	color: #e8e7dc;
}

.btn-delete {
	background: linear-gradient(135deg, #7f1d1d 0%, #471010 100%);
	color: #ffd1d1;
	border-color: #471010;
}
.btn-delete:hover {
	background: linear-gradient(135deg, #9a2323 0%, #5a1414 100%);
	box-shadow: 0 8px 18px rgba(71, 16, 16, 0.5);
	color: #ffe5e5;
}

.btn-reload {
	background: linear-gradient(135deg, #266a7a 0%, #15424b 100%);
	color: #d4f1f7;
	border-color: #15424b;
}
.btn-reload:hover {
	background: linear-gradient(135deg, #1a5361 0%, #307d8f 100%);
	transition: transform 0.4s ease;
	color: #ffffff;
}

.btn-nfo {
	background: linear-gradient(135deg, #4d4c46 0%, #2d2c29 100%);
	color: #e0dfda;
	border-color: #2d2c29;
}
.btn-nfo:hover {
	background: linear-gradient(135deg, #5d5c56 0%, #3d3c39 100%);
	box-shadow: 0 8px 18px rgba(45, 44, 41, 0.45);
	border-color: #3d3c39;
	color: #f5f4ef;
}

.btn-files {
	background: linear-gradient(135deg, #2f6c80 0%, #1f4452 100%);
	color: #cfe9f0;
	border-color: #1f4452;
}
.btn-files:hover {
	background: linear-gradient(135deg, #25586a 0%, #3a8096 100%);
	box-shadow: 0 8px 18px rgba(31, 68, 82, 0.45);
	color: #ffffff;
}

.btn-reseed {
	background: linear-gradient(135deg, #b8892a 0%, #7d5a16 100%);
	color: #2d2817;
	border-color: #7d5a16;
}
.btn-reseed:hover {
	background: linear-gradient(135deg, #9a7222 0%, #d49d32 100%);
	box-shadow: 0 8px 18px rgba(125, 90, 22, 0.45);
	color: #1a1710;
}

.btn-reseed-back {
	background: linear-gradient(135deg, #b85c1e 0%, #7a3a12 100%);
	color: #ffe4d1;
	border-color: #7a3a12;
}
.btn-reseed-back:hover {
	background: linear-gradient(135deg, #974a18 0%, #d46f26 100%);
	box-shadow: 0 8px 18px rgba(122, 58, 18, 0.45);
	color: #fff5eb;
}

.btn-report {
	background: linear-gradient(135deg, #a12f3a 0%, #691f24 100%);
	color: #ffd8dc;
	border-color: #691f24;
}
.btn-report:hover {
	background: linear-gradient(135deg, #85252e 0%, #bc3843 100%);
	box-shadow: 0 8px 18px rgba(105, 31, 36, 0.45);
	color: #ffecee;
}

.btn-peers {
	background: linear-gradient(135deg, #6b4ba8 0%, #443070 100%);
	color: #ead4ff;
	border-color: #443070;
}
.btn-peers:hover {
	background: linear-gradient(135deg, #563d8a 0%, #7f5ec2 100%);
	box-shadow: 0 8px 18px rgba(68, 48, 112, 0.45);
	color: #f5ebff;
}

.torrent-main-content {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
	margin: 12px 0;
	align-items: flex-start;
}

.torrent-sidebar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.torrent-poster-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.torrent-poster {
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
	max-width: 220px;
	height: auto;
	object-fit: cover;
}

.torrent-poster:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 16px var(--submenu-color);
}

.bithorlo-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px;
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.bithorlo-badge img {
	width: 48px;
	height: 48px;
}

.bithorlo-badge span {
	color: var(--body-color);
	font-weight: bold;
	font-size: calc(var(--body-font-size) - 1pt);
	text-align: center;
}

.sidebar-actions {
	overflow: hidden;
}

.sidebar-actions-header {
	font-weight: bold;
	font-family: var(--body-font-family);
	font-size: calc(var(--body-font-size) + 2pt);
	text-shadow: 1px 1px 1px var(--submenu-color);
	text-align: center;
}

.sidebar-actions-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-actions-list .action-button {
	justify-content: center;
	font-size: calc(var(--body-font-size) - 1pt);
}

.torrent-info-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.info-tabs-container {
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.info-tabs-header {
	display: flex;
	background: var(--colhead-bg-color);
	border-bottom: 1px var(--global-border-style) var(--border-color);
}

.info-tab {
	flex: 1;
	padding: 15px 20px;
	background: transparent;
	color: var(--menu-font-color);
	border: none;
	border-right: 1px var(--global-border-style) var(--border-color);
	font-family: var(--body-font-family);
	font-size: calc(var(--body-font-size) + 1pt);
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.info-tab:last-child {
	border-right: none;
}

.info-tab:hover {
	background: rgba(255, 255, 255, 0.1);
}

.info-tab.active {
	background: var(--mainouter-color);
	text-shadow: 0 0 8px rgba(214, 214, 214, 0.6);
}

.info-tab i {
	margin-right: 8px;
}

.info-tabs-content {
	overflow-x: auto;
}

#torrent-data-tab {
	padding: 10px;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.4s ease;
}

.tab-inner-content {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--mainouter-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.info-block {
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.info-block-header {
	background: var(--colhead-bg-color);
	color: var(--menu-font-color);
	font-weight: bold;
	padding: 10px 15px;
	margin: -15px -15px 15px -15px;
	border-radius: 8px 8px 0 0;
	font-family: var(--body-font-family);
	font-size: calc(var(--body-font-size) + 2pt);
	text-shadow: 1px 1px 1px var(--submenu-color);
}

.section-header {
	border-radius: 8px 8px 0 0;
	background: var(--colhead-bg-color);
	color: var(--menu-font-color);
	font-weight: bold;
	padding: 12px;
	text-align: center;
	border-bottom: 1px var(--global-border-style) var(--border-color);
	font-family: var(--body-font-family);
	font-size: calc(var(--body-font-size) + 2pt);
	margin-bottom: 10px;
}

.torrent-data-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.torrent-data-list li {
	padding: 8px 0;
	color: var(--body-color);
	border-bottom: 1px var(--global-border-style) var(--border-color);
}

#verification-status {
	font-weight: 600;
	line-height: 1.45;
}

.torrent-data-list li:last-child {
	border-bottom: none;
}

.images-section {
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	margin: 14px 0;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.images-section .info-block-header {
	margin: -14px -14px 12px -14px;
}

.torrent-images-grid {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 10px;
}

.torrent-images-grid img {
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	background: var(--mainouter-color);
}

.torrent-images-grid img:hover {
	transform: scale(1.1);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.description-section {
	background: var(--mainouter-color);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	margin: 14px 0;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
}

.description-section .info-block-header {
	margin: -14px -14px 12px -14px;
}

.torrent-description {
	padding: 12px;
	word-break: break-word;
	color: var(--body-color);
	line-height: 1.6;
	border-radius: 8px;
}

.torrent-description a {
	text-decoration: var(--url-text-decoration);
}

.torrent-description a:hover {
	color: var(--url-hover-color, var(--url-font-color));
	text-decoration: underline;
}

.modal {
	display: none;
	position: fixed;
	z-index: 2147483649;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.modal.show {
	display: flex;
}

.modal-content {
	background: var(--body-background);
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	max-width: 98%;
	max-height: 95%;
	width: 1600px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9);
	display: flex;
	flex-direction: column;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.modal-header {
	background: var(--colhead-bg-color);
	color: var(--menu-font-color);
	padding: 15px 20px;
	border-bottom: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	font-size: calc(var(--body-font-size) + 4pt);
	font-weight: bold;
	text-shadow: 1px 1px 1px var(--submenu-color);
}

.modal-header h3 i {
	margin-right: 10px;
}

.modal-close {
	color: var(--menu-font-color);
	font-size: 32px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
	padding: 0 10px;
}

.modal-close:hover {
	color: #ff6666;
	transform: scale(1.2);
}

.modal-title-with-tabs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 20px;
}

.modal-title-text i {
	margin-right: 10px;
}

.modal-tabs {
	display: flex;
	gap: 8px;
}

.modal-tab {
	padding: 8px 16px;
	background: var(--submenu-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--menu-font-color);
	font-size: calc(var(--body-font-size));
	font-family: var(--body-font-family);
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-tab:hover {
	background: var(--menu-hover);
	transform: translateY(-1px);
}

.modal-tab.active {
	background: var(--menu-background);
	border-color: var(--url-font-color);
	box-shadow: 0 1px 8px rgba(214, 214, 214, 0.3);
}

.modal-body {
	overflow-y: auto;
	max-height: calc(90vh - 80px);
	color: var(--body-color);
}

.modal-body::-webkit-scrollbar {
	width: 10px;
}

.modal-body::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.18);
}

.modal-body::-webkit-scrollbar-thumb {
	background: var(--border-color);
}

.modal-body::-webkit-scrollbar-thumb:hover {
	background: var(--url-font-color);
}

.peers-container {
	max-width: 1100px;
	margin: 14px auto;
	padding: 16px;
}

.peers-header {
	text-align: center;
	margin-bottom: 30px;
}

.peers-header h2 {
	color: var(--body-color);
	font-size: calc(var(--body-font-size) + 6pt);
	margin: 0;
}

.peers-panel {
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	background: var(--alertbox-color);
	margin: 15px 0;
	overflow: hidden;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.peers-panel-heading {
	background: var(--colhead-bg-color);
	padding: 12px;
	color: var(--menu-font-color);
	font-weight: bold;
	font-size: calc(var(--body-font-size) + 2pt);
}

.peers-section {
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.peers-section-content {
	display: none;
}

.peers-section-info {
	padding: 10px;
	background: var(--colhead-bg-color);
	border-radius: 8px 8px 0px 0px;
    border: solid 1px var(--border-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subtitles-container {
	background: var(--mainouter-color);
	border-radius: 8px;
}

.subtitle-item {
	padding: 10px;
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--border-color);
}

.subtitle-item:hover {
	background: var(--submenu-color-hover);
}

.subtitle-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.subtitle-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 10px;
}

.subtitle-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: calc(var(--body-font-size) + 2pt);
	font-weight: 600;
	color: var(--body-color);
}

.subtitle-title i {
	color: var(--url-font-color);
	font-size: calc(var(--body-font-size) + 3pt);
}

.subtitle-name {
	color: var(--body-color);
}

.subtitle-language {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: var(--submenu-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: calc(var(--body-font-size));
	color: var(--body-color);
	font-weight: 500;
}

.subtitle-language i {
	color: var(--url-font-color);
}

.subtitle-details {
	margin-bottom: 12px;
}

.subtitle-info {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.subtitle-meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: calc(var(--body-font-size) - 1pt);
	color: var(--menu-font-color);
}

.subtitle-meta i {
	color: var(--url-font-color);
	opacity: 0.8;
}

.subtitle-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.subtitle-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: linear-gradient(135deg, #3da861 0%, #246f43 100%);
	color: #e8f5e9;
	border: 1px solid #246f43;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: calc(var(--body-font-size));
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.subtitle-download:hover {
	background: linear-gradient(135deg, #2d8a51 0%, #47b770 100%);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(36, 111, 67, 0.3);
}

.subtitle-download i {
	font-size: calc(var(--body-font-size) + 1pt);
}

.cache-info {
	margin-top: 16px;
	padding: 10px 14px;
	background: rgba(188, 156, 114, 0.08);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: calc(var(--body-font-size) - 1pt);
	color: var(--menu-font-color);
	font-style: italic;
	display: flex;
	align-items: center;
	gap: 8px;
}

.cache-info i {
	color: var(--url-font-color);
	opacity: 0.7;
}

.peers-count {
	color: var(--body-color);
	font-weight: bold;
}

.peers-count strong {
	color: var(--url-font-color);
	border-radius: 8px;
}

.seeder-icon {
	color: #5bff00 !important;
	filter: drop-shadow(0 2px 4px rgba(0, 255, 0, 0.3));
	font-size: calc(var(--body-font-size) + 1pt) !important;
}

.leecher-icon {
	color: #ff0000 !important;
	filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
	font-size: calc(var(--body-font-size) + 1pt) !important;
}

.peers-modal-controls {
	display: flex;
	gap: 12px;
	padding: 10px;
	margin-bottom: 10px;
	background: var(--mainouter-color);
	border-radius: 8px;
    border: solid 1px var(--border-color);
}

.peers-search-input {
	flex: 1;
	padding: 10px 15px;
	background: var(--input-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--body-color);
	font-size: var(--body-font-size);
	font-family: var(--body-font-family);
	transition: all 0.3s ease;
}

.peers-search-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(188, 156, 114, 0.1);
}

.peers-search-input::placeholder {
	color: var(--menu-font-color);
	opacity: 0.6;
}

.peers-filter-select {
	padding: 10px 15px;
	background: var(--input-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--body-color);
	font-size: var(--body-font-size);
	font-family: var(--body-font-family);
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 200px;
}

.peers-filter-select:focus {
	outline: none;
}


.peers-modal-table {
	width: 100%;
	background: var(--alertbox-color);
	overflow: hidden;
	border-radius: 8px;
}

.peers-modal-table thead {
	background: var(--colhead-bg-color);
	position: sticky;
	top: 0;
	z-index: 10;
}

.peers-modal-table thead tr:first-child th:first-child {
	border-top-left-radius: 8px;
}

.peers-modal-table thead tr:first-child th:last-child {
	border-top-right-radius: 8px;
}

.peers-modal-table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.peers-modal-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

.peers-modal-table th {
	padding: 12px 15px;
	text-align: left;
	color: var(--menu-font-color);
	font-size: calc(var(--body-font-size) + 1pt);
	border: 1px solid var(--border-color);
	cursor: pointer;
	user-select: none;
	transition: all 0.3s ease;
}

.peers-modal-table th:hover {
	background: var(--mainouter-color);
}

.peers-modal-table th .sort-arrow {
	margin-left: 6px;
	opacity: 0.7;
	font-size: 14px;
	transition: opacity 0.3s ease;
	color: var(--menu-font-color);
}

.peers-modal-table th:hover .sort-arrow {
	opacity: 1;
	color: var(--url-font-color);
}

.peers-modal-row {
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--border-color);
}

.peers-modal-row:hover {
	background: var(--mainouter-color);
}

.peers-modal-row:last-child {
	border-bottom: none;
}

.peers-modal-table td {
	padding: 12px 15px;
	color: var(--body-color);
	font-size: var(--body-font-size);
	vertical-align: middle;
}

.torrent-form-input {
	padding: 10px;
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	background: var(--input-color);
	color: var(--input-text-color);
	font-family: var(--input-font-family);
	font-size: var(--input-font-size);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
}

.torrent-form-input:focus {
	outline: none;
	box-shadow: 0 0 8px rgba(214, 214, 214, 0.4);
}

.torrent-textarea {
	width: 100%;
	min-height: 130px;
	padding: 10px;
	border: 1px var(--global-border-style) var(--border-color);
	border-radius: 8px;
	background: var(--input-color);
	color: var(--input-text-color);
	font-family: var(--input-font-family);
	font-size: var(--input-font-size);
	resize: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
}

.torrent-textarea:focus {
	box-shadow: 0 0 0 2px rgba(214, 214, 214, 0.18);
	outline: none;
}

.torrent-btn {
	padding: 8px;
	background: var(--input-color);
	color: var(--input-text-color);
	border: solid 1px var(--border-color);
	border-radius: 8px;
	font-size: var(--input-font-size);
	cursor: pointer;
}

.torrent-btn:hover {
	background: var(--menu-hover);
}

.torrent-btn-danger {
	background: linear-gradient(135deg, #a12f3a 0%, #691f24 100%);
	border-color: #691f24;
	color: #ffffff;
}

.torrent-btn-danger:hover {
	background: linear-gradient(135deg, #691f24 0%, #a12f3a 100%);
	box-shadow: 0 6px 12px rgba(105, 31, 36, 0.4);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.torrent-sample-image {
	width: 128px;
	height: auto;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
	cursor: pointer;
}

.torrent-sample-image:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.filelist-tree {
	border-radius: 0px 0px 8px 8px;
	padding: 10px;
	font-family: 'Courier New', Courier, monospace;
	overflow-y: auto;
}

.filelist-tree::-webkit-scrollbar {
	width: 10px;
}

.filelist-tree::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}

.filelist-tree::-webkit-scrollbar-thumb {
	background: rgba(188, 156, 114, 0.5);
}

.filelist-tree::-webkit-scrollbar-thumb:hover {
	background: rgba(188, 156, 114, 0.7);
}

.file-item,
.folder-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
	font-size: calc(var(--body-font-size) + 1pt);
	text-align: left;
}

.file-item:hover {
	background: var(--submenu-color);
}

.folder-item {
	font-weight: 600;
	margin-top: 4px;
	cursor: pointer;
}

.folder-item:hover {
	background: var(--submenu-color-hover);
	color: rgba(188, 156, 114, 1);
}

.file-icon {
	color: var(--menu-font-color);
	opacity: 0.7;
	width: 16px;
	text-align: center;
}

.folder-icon {
	color: rgba(188, 156, 114, 0.8);
	width: 16px;
	text-align: center;
}

.file-name {
	flex: 1;
	color: var(--body-color);
	word-break: break-word;
	text-align: left;
}

.folder-name {
	flex: 1;
	color: var(--body-color);
	text-align: left;
}

.file-size {
	color: var(--menu-font-color);
	font-size: calc(var(--body-font-size));
	opacity: 0.8;
	margin-left: auto;
	white-space: nowrap;
	text-align: right;
}

.file-item.depth-0, .folder-item.depth-0 { padding-left: 8px; }
.file-item.depth-1, .folder-item.depth-1 { padding-left: 28px; }
.file-item.depth-2, .folder-item.depth-2 { padding-left: 48px; }
.file-item.depth-3, .folder-item.depth-3 { padding-left: 68px; }
.file-item.depth-4, .folder-item.depth-4 { padding-left: 88px; }
.file-item.depth-5, .folder-item.depth-5 { padding-left: 108px; }
.file-item.depth-6, .folder-item.depth-6 { padding-left: 128px; }
.file-item.depth-7, .folder-item.depth-7 { padding-left: 148px; }
.file-item.depth-8, .folder-item.depth-8 { padding-left: 168px; }
.file-item.depth-9, .folder-item.depth-9 { padding-left: 188px; }

.nfo-terminal-body {
	border-radius: 0px 0px 8px 8px;
	overflow: auto;
	font-family: 'Courier New', Courier, monospace;
	background: var(--mainouter-color);
}

.nfo-terminal-body::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

.nfo-terminal-body::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 8px;
}

.nfo-terminal-body::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, rgba(188, 156, 114, 0.6) 0%, rgba(188, 156, 114, 0.4) 100%);
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.nfo-terminal-body::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(135deg, rgba(188, 156, 114, 0.8) 0%, rgba(188, 156, 114, 0.6) 100%);
}

.nfo-pre {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	white-space: pre;
	letter-spacing: 0.5px;
}

.nfo-header-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding: 12px 16px;
	background: var(--submenu-color);
	border: 1px solid var(--border-color);
	border-radius: 8px;
}

.nfo-header-title {
	color: var(--body-color);
	font-size: calc(var(--body-font-size) + 2pt);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}

.nfo-header-title i {
	color: rgba(188, 156, 114, 0.8);
	font-size: calc(var(--body-font-size) + 4pt);
}

.nfo-action-buttons {
	display: flex;
	gap: 10px;
}

.nfo-action-btn {
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	background: var(--mainouter-color);
	color: var(--body-color);
	font-size: calc(var(--body-font-size) - 1pt);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.nfo-action-btn:hover {
	background: var(--submenu-color-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nfo-action-btn i {
	font-size: calc(var(--body-font-size) + 1pt);
}

.empty-state {
	text-align: center;
	padding: 20px;
	color: var(--menu-font-color);
	font-size: calc(var(--body-font-size) + 2pt);
	border-radius: 0px 0px 8px 8px;
	border: solid 1px var(--border-color);
}

.empty-state i {
	font-size: 48px;
	color: rgba(188, 156, 114, 0.4);
	margin-bottom: 16px;
	display: inline-block;
}

.similar-torrents-list {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.similar-torrent-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px;
	border-bottom: 1px var(--global-border-style) var(--border-color);
	transition: background 0.2s ease;
}

.similar-torrent-item:last-child {
	border-bottom: none;
}

.similar-torrent-item:hover {
	background: var(--submenu-color-hover);
}

.similar-torrent-source {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.similar-torrent-source img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.similar-torrent-info {
	flex: 1;
	min-width: 0;
}

.similar-torrent-name {
	text-align: left;
	font-size: calc(var(--body-font-size));
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.similar-torrent-name a {
	text-decoration: none;
	transition: color 0.2s;
}

.similar-torrent-name a:hover {
	color: var(--menu-font-color);
}

.similar-torrent-stats {
	display: flex;
	gap: 15px;
	font-size: calc(var(--body-font-size) - 1pt);
	color: var(--body-color);
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.stat-item i {
	font-size: 11px;
	opacity: 0.7;
}

.seeders-count.has-seeders,
.seeders.has-seeders {
	color: var(--kviz-kerdes);
	font-weight: bold;
}

.seeders-count.no-seeders,
.seeders.no-seeders {
	color: var(--kviz-valasz);
	font-weight: bold;
}

.leechers-count,
.leechers {
	color: var(--kviz-valasz);
	font-weight: bold;
}

.seeders {
	color: var(--kviz-kerdes);
	font-weight: bold;
}

.similar-torrent-download {
	margin-left: auto;
	flex-shrink: 0;
}

.download-btn-active,
.download-btn-disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 15px;
	border: 1px solid;
	border-radius: 8px;
	font-size: calc(var(--body-font-size) - 1pt);
	font-weight: bold;
	text-decoration: none;
	transition: all 0.2s ease;
}

.download-btn-active {
	background: linear-gradient(135deg, #28a745, #1e7e34);
	color: white;
	border-color: #1e7e34;
	cursor: pointer;
}

.download-btn-active:hover {
	background: linear-gradient(135deg, #1e7e34, #28a745);
	transform: translateY(-1px);
	box-shadow: 0 1px 4px rgba(40, 167, 69, 0.4);
}

.download-btn-disabled {
	background: rgba(108, 117, 125, 0.3);
	color: #888;
	border-color: rgba(108, 117, 125, 0.5);
	cursor: not-allowed;
	opacity: 0.6;
}

.download-btn-active i,
.download-btn-disabled i {
	margin-right: 5px;
}

.badge-bithorlo {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	color: #fff;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	border: 1px solid #e67e22;
	display: inline-block;
}

.badge-huntorrent {
	background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
	color: #fff;
	padding: 4px 8px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	border: 1px solid #2471a3;
	display: inline-block;
}