/**
 * Colors
 */
.box h3 {
	background-image: none !important;
	background-color: #c45454;
}
.stabs div.selected a {
	background-image: none !important;
	background-color: #c45454;
}
.stabs div.spacer {
	background-color: #c45454;
}

/**
 * Chapters
 */
.chapters table.listing > tbody > tr:nth-child(odd) {
	height: 27px;
}
.chapters table.listing > tbody > tr.row_alt,
.chapters table.listing > tbody > tr:nth-child(even) {
	background-color: transparent;
}

/**
 * Manga details
 */
.details .forumthread {
	padding-left: 22px;
	font-size: 12px;
	line-height: 16px;
	display: block;
}
.details .forumthreadinfo a {
	color: #D00853;
}
.details .forumthreadinfo {
	padding-left: 22px;
	color: #888888;
}
.details div.headerimg {
	width: 430px;
	height: 60px;
}
.details .rating {
	width: 120px;
	height: 100px;
	border: 1px solid #ddd;
	position: relative;
}
.details .rating div {
	position: absolute;
	width: 40px;
	bottom: 0;
}
.details .rating div.bad {
	background-color: #9f5959;
}
.details .rating div.good {
	left: 80px;
	background-color: #a1f0aa;
}
.details .rating div.neutral {
	left: 40px;
	background-color: #eaeb7e;
}
.details form.myoptions label {
	padding-right: 8px;
}
.details #officialinfocontainer {
	padding: 5px 5px 0 11px;
	font-size: 13px;
}
.details .greatrating {
	color: #FF0563;
}
.details .mediumrating {
	color: #FFAE00;
}
.details .badrating {
	color: #FF0563;
}
.details #summary {
	font-family: sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.details #summary p {
	margin: 5px 0;
}
.details #summary .screenshots {
	text-align: center;
}
.details #summary .screenshots img {
	margin: 10px;
}
.details #summary h4,
.details #tags h4,
.details #translators h4 {
	margin: 0;
	font-size: 13px;
	font-weight: bold;
}
.details #officialinfocontainer td {
	font-size: 13px;
	vertical-align: top;
}
.details #officialinfocontainer .tdtype {
	width: 135px;
	font-weight: 700;
}
.details .groupnamecontainer {
	background-color: #e0dacd;
	border: 1px solid #bcbcbc;
}
.details .mangarating {
	font-size: 10px;
	text-align: left;
	display: block;
	width: 110px;
	height: 15px;
	padding-left: 15px;
}
.details #releases {
	margin-left: 40px;
	margin-right: 40px;
}
.details #ratemanga {
	font-size: 16px;
	text-align: center;
	background-color: #EBE6D8;
	margin-top: 10px;
	margin-bottom: 7px;
	padding: 3px;
	font-weight: bold;
	border-radius: 5px;
}
.details #ratemanga form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.details #ratemanga input[type="submit"] {
	padding: 2px 10px;
	margin-left: 4px;
	vertical-align: middle;
}
.details .box3 {
	margin-top: 25px;
	border-left: 1px solid #d0cabc;
	border-right: 1px solid #d0cabc;
	display: block;
	position: relative;
}
.details .subtabbox {
	border-bottom: 4px solid #000;
	border-left: 1px solid #d0cabc;
	border-right: 1px solid #d0cabc;
	border-radius: 0;
	padding-bottom: 5px;
	position: relative;
}
.details .comments {
	margin-top: 50px;
}
.details h1 {
	font-variant: small-caps;
}
.details .stabs .spacer {
	border-left: 1px solid #fff;
	border-right: 1px solid #000;
}
.details .mrating {
	position: absolute;
	display: block;
	right: 30px;
	bottom: 10px;
}
.details .mrating span {
	display: block;
}
.details .mrating .header {
	border-bottom: 2px dotted #000;
	padding: 2px;
	font-size: 20px;
	text-align: left;
}
.details .mrating .numbers {
	font-size: 32px;
	text-align: center;
}
.details .mrating .of {
	text-align: center;
	border-bottom: 2px dotted #000;
	padding-bottom: 2px;
}
.details .mrating .votes {
	text-align: center;
}

/* ============================================
   Options & Subscriptions Form
   ============================================ */

/* Form containers */
.details form.myoptions {
	margin-top: 7px;
	padding: 0 14px;
	font-size: 13px;
	border-bottom: none !important;
	background: transparent;
}

/* Field labels */
.details form.myoptions .field-label,
.details form.myoptions label[for="read_status"] {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a5248;
	margin-bottom: 8px;
	line-height: 1;
}

.details form.myoptions select[name="read_status"] {
	width: 100%;
	padding: 10px 12px;
	color: #3d3831;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5248' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
	background-size: 10px;
	border: 1px solid #d4cfc3;
	border-radius: 6px;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.details form.myoptions select[name="read_status"]:hover {
	border-color: #b8b0a0;
}

.details form.myoptions select[name="read_status"]:focus {
	outline: none;
	border-color: #8b1e32;
	box-shadow: 0 0 0 3px rgba(139, 30, 50, 0.1);
}

/* Subscription form fields wrapper */
.details form.myoptions p {
	margin: 0 0 10px 0 !important;
	padding: 0;
}

.details form.myoptions p:last-of-type {
	margin-bottom: 0 !important;
}

/* Boolean group (e.g. Notifications) */
.details form.myoptions .boolean-group {
	background: #fff;
	border: 1px solid #d4cfc3;
	border-radius: 6px;
	padding: 10px;
}

.details form.myoptions .boolean-group .field-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a5248;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0ece4;
}

.details form.myoptions .boolean-group .group-options {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Boolean fields (checkboxes) */
.details form.myoptions label.boolean-field {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #3d3831;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 4px;
	transition: background 0.15s ease;
}

.details form.myoptions label.boolean-field:hover {
	background: #f8f6f2;
}

.details form.myoptions label.boolean-field input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	border: 2px solid #c4bdb0;
	border-radius: 4px;
	cursor: pointer;
	accent-color: #8b1e32;
	transition: border-color 0.15s ease;
	flex-shrink: 0;
}

.details form.myoptions label.boolean-field:hover input[type="checkbox"] {
	border-color: #8b1e32;
}

.details form.myoptions label.boolean-field input[type="checkbox"]:checked {
	background: #8b1e32;
	border-color: #8b1e32;
}

/* Subscribe to section (MultipleSelectField) */
.details form.myoptions .multiple-select-field {
	background: #fff;
	border: 1px solid #d4cfc3;
	border-radius: 6px;
	padding: 10px;
}

.details form.myoptions .multiple-select-field .field-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a5248;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0ece4;
}

.details form.myoptions .multiple-select-field .field-options {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.details form.myoptions .multiple-select-field .option-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	font-size: 13px;
	color: #3d3831;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.15s ease;
}

.details form.myoptions .multiple-select-field .option-item:hover {
	background: #f8f6f2;
}

.details form.myoptions .multiple-select-field .option-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	border: 2px solid #c4bdb0;
	border-radius: 4px;
	cursor: pointer;
	accent-color: #8b1e32;
	flex-shrink: 0;
}

.details form.myoptions .multiple-select-field .option-item:hover input[type="checkbox"] {
	border-color: #8b1e32;
}

/* Select fields (Group, Language) */
.details form.myoptions label[for="id_group_id"],
.details form.myoptions label[for="id_lang"] {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5a5248;
	margin-bottom: 6px;
}

/* Hide line breaks after labels */
.details form.myoptions p br {
	display: none;
}

.details form.myoptions select[name="group_id"],
.details form.myoptions select[name="lang"] {
	display: block;
	width: 100%;
	padding: 8px 10px;
	font-size: 13px;
	color: #3d3831;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5248' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
	background-size: 10px;
	border: 1px solid #d4cfc3;
	border-radius: 6px;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.details form.myoptions select[name="group_id"]:hover,
.details form.myoptions select[name="lang"]:hover {
	border-color: #b8b0a0;
}

.details form.myoptions select[name="group_id"]:focus,
.details form.myoptions select[name="lang"]:focus {
	outline: none;
	border-color: #8b1e32;
	box-shadow: 0 0 0 3px rgba(139, 30, 50, 0.1);
}

/* Submit button */
.details form.myoptions input[type="submit"] {
	display: block;
	width: 100%;
	padding: 10px 16px;
	margin: 12px 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #8b1e32 0%, #6b1525 100%);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.details form.myoptions input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(139, 30, 50, 0.3);
}

.details form.myoptions input[type="submit"]:active {
	transform: translateY(0);
	box-shadow: none;
}

/* ============================================
   Admin Links Box
   ============================================ */

.admin-links .content {
	padding: 10px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.admin-links .content > a {
	color: #3d3831;
	text-decoration: none;
	font-size: 13px;
}

.admin-links .content > a:hover {
	color: #8b1e32;
}

.admin-links form {
	margin: 0;
}

.admin-links input[type="submit"] {
	width: 100%;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #5a5248;
	background: #f5f3ef;
	border: 1px solid #d4cfc3;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-links input[type="submit"]:hover {
	background: #ebe8e2;
	border-color: #b8b0a0;
}

/* Reviews/Comments */
.details .lifestream #tabcontent .newsitem .newspost {
	font-size: 14px;
	line-height: 1.5;
	background-color: #f6f3ec;
}
