﻿.filter-input, .language-select-header, .table-container {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05)
}
input.eiketsu-base-stat-input, td, th {
	font-size: .8rem
}
#eiketsuBaseStatsFormKishin>div>div>label, #kizunaEffectAreaKishin h4 span, .sr-only, td, th {
	white-space: nowrap
}
.sortable-header, th {
	user-select: none
}
body {
	font-family: Inter, sans-serif
}
::-webkit-scrollbar {
	width: 8px;
	height: 8px
}
::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px
}
::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px
}
#dataTableKishin tbody tr.selected-row-a td:first-child, .selected-row-a {
	background-color: #dbeafe!important
}
::-webkit-scrollbar-thumb:hover {
	background: #555
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border-width: 0
}
.table-container {
	max-height: 70vh;
	overflow-y: auto;
	overflow-x: auto;
	border-radius: .5rem;
	border: 1px solid #e5e7eb
}
.table-container table {
	border: none;
	table-layout: auto
}
td, th {
	padding: .5rem .75rem;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle
}
th {
	font-weight: 600;
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #f9fafb;
	cursor: pointer
}
#dataTableKishin thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 11
}
#dataTableKishin tbody td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	background-color: #fff
}
th:hover {
	background-color: #f3f4f6
}
#dataTableKishin tbody tr:nth-child(odd) {
	background-color: #fff
}
#dataTableKishin tbody tr {
	cursor: pointer
}
#dataTableKishin tbody tr:hover {
	background-color: #eff6ff!important
}
.selected-row-a {
	font-weight: 700
}
.selected-row-a td {
	color: #1e40af
}
.total-stat-column {
	font-weight: 600;
	color: #1d4ed8
}
#languageSelectHeaderKishin, .filter-input {
	width: 100%;
	padding: .625rem;
	border: 1px solid #d1d5db;
	border-radius: .5rem;
	background-color: #fff
}
#dataTableKishin tbody tr:nth-child(2n), #languageSelectHeaderKishin {
	background-color: #f9fafb
}
#languageSelectHeaderKishin {
	padding: .25rem .5rem;
	border: 1px solid #d1d5db;
	border-radius: .375rem;
	font-size: .75rem;
	color: #4b5563;
	min-width: 100px
}
#languageSelectHeaderKishin:focus, .filter-input:focus {
	outline: transparent solid 2px;
	outline-offset: 2px;
	border-color: #6366f1;
	box-shadow: 0 0 0 2px #a5b4fc
}
.sort-indicator {
	margin-left: .25rem;
	font-size: .65rem;
	display: inline-block;
	width: 1em
}
.custom-btn {
	color: #fff;
	font-weight: 600;
	font-size: .875rem;
	padding: .5rem 1rem;
	border-radius: .5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
	transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
	transition-duration: 150ms;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
}
.custom-btn:focus {
	outline: transparent solid 2px;
	outline-offset: 2px
}
.reset-button {
	background-color: #6b7280
}
.reset-button:hover {
	background-color: #4b5563
}
.reset-button:focus {
	box-shadow: 0 0 0 2px #9ca3af
}
.message-box.error, .reset-button-alt {
	background-color: #ef4444
}
.custom-btn-danger:hover, .reset-button-alt:hover {
	background-color: #dc2626
}
.reset-button-alt:focus {
	box-shadow: 0 0 0 2px #fca5a5
}
.copy-button {
	background-color: #10b981
}
.copy-button:hover {
	background-color: #059669
}
.copy-button:focus {
	box-shadow: 0 0 0 2px #6ee7b7
}
.summary-panel {
	background-color: #e0f2fe;
	border: 1px solid #7dd3fc;
	color: #0c4a6e;
	padding: .75rem;
	border-radius: .5rem
}
.summary-panel h4 {
	color: #0369a1
}
.selected-items-list-area {
	white-space: normal;
	border: none;
	padding: 0;
	background-color: transparent;
	min-height: 30px
}
#presetListContainerKishin ul, .selected-items-list-area ul {
	padding-left: 0;
	list-style-type: none
}
.selected-items-list-area li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 1.3;
	margin-bottom: .125rem
}
.selected-items-list-area .item-name {
	cursor: pointer;
	text-decoration: underline
}
.selected-items-list-area .item-name.inactive-stone {
	color: #ef4444;
	text-decoration-color: #fca5a5
}
.selected-items-list-area .item-name.inactive-stone:hover {
	color: #dc2626;
	text-decoration-color: #ef4444
}
#selectedItemsListAKishin .item-name:hover {
	text-decoration-color: #3b82f6;
	color: #1d4ed8
}
.deselect-item-btn {
	background-color: #d1d5db;
	color: #4b5563;
	border: 1px solid #9ca3af;
	border-radius: .25rem;
	width: 1.1rem;
	height: 1.1rem;
	font-size: .65rem;
	line-height: 1rem;
	text-align: center;
	margin-left: .5rem;
	padding: 0;
	flex-shrink: 0;
	transition: background-color .2s, color .2s;
	cursor: pointer
}
.deselect-item-btn:hover {
	background-color: #9ca3af;
	color: #1f2937
}
.item-details-area {
	font-size: .75rem;
	line-height: 1.25
}
#itemDetailsAKishin strong {
	font-weight: 600;
	color: #075985
}
.item-details-area .stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: .25rem .5rem
}
.item-details-area .stat-item {
	display: flex;
	justify-content: space-between
}
.item-details-area .stat-label {
	color: #4b5563
}
.item-details-area .stat-value {
	font-weight: 500
}
.item-details-area .stat-value.stat-value-inactive {
	color: #ef4444!important
}
#selectedSumsContainerAKishin p {
	color: #0c4a6e;
	line-height: 1.3;
	margin-bottom: .125rem
}
#selectedSumsContainerAKishin .flex-1 {
	padding-right: .5rem
}
#messageBoxKishin {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	padding: 1rem 1.5rem;
	border-radius: .375rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
	z-index: 1000;
	display: none;
	opacity: 0;
	transition: opacity .3s ease-in-out, background-color .3s ease-in-out
}
#messageBoxKishin.show {
	display: block;
	opacity: 1
}
#specializedBuildsSectionKishin h3 {
	font-weight: 600;
	margin-bottom: .5rem;
	color: #1f2937
}
#specializedBuildsSectionKishin h4 {
	font-weight: 600;
	margin-top: .75rem;
	margin-bottom: .25rem;
	color: #1f2937
}
#specializedBuildsContainerKishin ul {
	list-style-position: inside;
	padding-left: 0
}
#specializedBuildsContainerKishin li {
	margin-bottom: .25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .125rem 0;
	border-bottom: 1px dashed #d1d5db
}
#specializedBuildsContainerKishin li:last-child {
	border-bottom: none
}
#specializedBuildsContainerKishin .item-name {
	margin-right: .5rem;
	flex-shrink: 0
}
#specializedBuildsContainerKishin .stat-value {
	font-weight: 600;
	min-width: 40px;
	text-align: right
}
#presetListContainerKishin li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .5rem;
	border: 1px solid #e5e7eb;
	border-radius: .375rem;
	background-color: #fff
}
.direct-effect-override-input, input.eiketsu-base-stat-input.filter-input {
	padding: .25rem .375rem
}
#eiketsuBaseStatsFormKishin>div>div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .25rem
}
#kizunaSelectStatsCheckboxesContainerKishin label {
	margin-left: .25rem;
	cursor: pointer
}
#kizunaSelectStatsCheckboxesContainerKishin input[type=checkbox] {
	cursor: pointer;
	margin-right: .25rem
}
#kizunaSelectStatsCheckboxesContainerKishin>div>div {
	display: flex;
	align-items: center;
	margin-bottom: .125rem
}
#eiketsuDirectEffectStatsOutputKishin div.stat-display-row, #eiketsuFinalCalculatedStatsOutputKishin div.stat-display-row, #kizunaCalculatedStatsOutputKishin div.stat-display-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .125rem 0
}
#eiketsuDirectEffectStatsOutputKishin div.stat-display-row span:first-child, #eiketsuFinalCalculatedStatsOutputKishin div.stat-display-row span:first-child, #kizunaCalculatedStatsOutputKishin div.stat-display-row span:first-child {
	min-width: 60px;
	margin-right: .5rem
}
.direct-effect-override-input {
	width: 70px;
	text-align: right;
	border: 1px solid #cbd5e1;
	border-radius: .25rem;
	margin-left: .25rem
}
.custom-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s
}
.custom-modal-overlay.show {
	opacity: 1;
	visibility: visible
}
.custom-modal-content {
	background-color: #fff;
	padding: 1.5rem;
	border-radius: .5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
	width: 90%;
	max-width: 400px
}
.custom-btn-danger, .custom-btn-secondary {
	font-weight: 600;
	font-size: .875rem;
	padding: .5rem 1rem;
	border-radius: .5rem
}
.custom-btn-secondary {
	background-color: #e5e7eb;
	color: #374151
}
.custom-btn-secondary:hover {
	background-color: #d1d5db
}
.custom-btn-danger {
	background-color: #ef4444;
	color: #fff
}
@media (max-width:640px) {
	.table-container {
		max-height: 50vh
	}
	td, th {
		font-size: .7rem;
		padding: .25rem .5rem
	}
	#eiketsuBaseStatsFormKishin, #eiketsuDirectEffectStatsOutputKishin, #eiketsuFinalCalculatedStatsOutputKishin, #kizunaCalculatedStatsOutputKishin, #kizunaSelectStatsCheckboxesContainerKishin {
		grid-template-columns: repeat(1, minmax(0, 1fr))
	}
}
@media (max-width:767px) {
	.direct-effect-override-input, .filter-input, input.eiketsu-base-stat-input, input[type=number], input[type=text], select, textarea {
		font-size: 16px!important
	}
	#numericalFilterControlsContainerKishin input {
		font-size: 16px!important;
		min-height: 44px;
		padding: .75rem
	}
}
@media (min-width:768px) {
	.filter-input {
		font-size: .875rem
	}
	.direct-effect-override-input, input.eiketsu-base-stat-input {
		font-size: .8rem
	}
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0
}
input[type=number] {
	-moz-appearance: textfield
}
@media (hover:none) and (pointer:coarse) {
	.custom-btn {
		min-height: 44px;
		touch-action: manipulation
	}
	input[type=checkbox].form-checkbox {
		width: 20px;
		height: 20px
	}
}

#selectedSumsContainerA p, #selectedSumsContainerB p {
    color: #0c4a6e;
    line-height: 1.3;
    margin-bottom: .125rem
}