﻿/*_______________________________________________________________________________________________________________
 * |                                                                                                             |
 * |  ████████╗  ██████╗   ██████╗  ██╗      ███╗   ██╗ ███████╗ ███████╗ ████████╗        ███╗   ███╗ ██████╗   |
 * |  ╚══██╔══╝ ██╔═══██╗ ██╔═══██╗ ██║      ████╗  ██║ ██╔════╝ ██╔════╝ ╚══██╔══╝        ████╗ ████║ ██╔══██╗  |
 * |     ██║    ██║   ██║ ██║   ██║ ██║      ██╔██╗ ██║ █████╗   ███████╗    ██║    █████╗ ██╔████╔██║ ██████╔╝  |
 * |     ██║    ██║   ██║ ██║   ██║ ██║      ██║╚██╗██║ ██╔══╝   ╚════██║    ██║    ╚════╝ ██║╚██╔╝██║ ██╔═══╝   |
 * |     ██║    ╚██████╔╝ ╚██████╔╝ ███████╗ ██║ ╚████║ ███████╗ ███████║    ██║           ██║ ╚═╝ ██║ ██║       |
 * |     ╚═╝     ╚═════╝   ╚═════╝  ╚══════╝ ╚═╝  ╚═══╝ ╚══════╝ ╚══════╝    ╚═╝           ╚═╝     ╚═╝ ╚═╝       |
 * |                                                                                                             |
 * |    ███╗   ███╗  █████╗  ███╗   ███╗ ███████╗ ██████╗  ██╗ ███╗   ██╗      ██████╗  ██████╗  ███╗   ███╗     |
 * |    ████╗ ████║ ██╔══██╗ ████╗ ████║ ██╔════╝ ██╔══██╗ ██║ ████╗  ██║     ██╔════╝ ██╔═══██╗ ████╗ ████║     |
 * |    ██╔████╔██║ ███████║ ██╔████╔██║ █████╗   ██████╔╝ ██║ ██╔██╗ ██║     ██║      ██║   ██║ ██╔████╔██║     |
 * |    ██║╚██╔╝██║ ██╔══██║ ██║╚██╔╝██║ ██╔══╝   ██╔═══╝  ██║ ██║╚██╗██║     ██║      ██║   ██║ ██║╚██╔╝██║     |
 * |    ██║ ╚═╝ ██║ ██║  ██║ ██║ ╚═╝ ██║ ███████╗ ██║      ██║ ██║ ╚████║ ██╗ ╚██████╗ ╚██████╔╝ ██║ ╚═╝ ██║     |
 * |    ╚═╝     ╚═╝ ╚═╝  ╚═╝ ╚═╝     ╚═╝ ╚══════╝ ╚═╝      ╚═╝ ╚═╝  ╚═══╝ ╚═╝  ╚═════╝  ╚═════╝  ╚═╝     ╚═╝     |
 * |                                                                                                             |
 * |                                                                                                             |
 * |                                 (C) 2021- mamepin.com - ALL RIGHTS RESERVED                                 |
 * |                                         Unauthorized use prohibited                                         |
 * |_____________________________________________________________________________________________________________|
 */

#main-content.tnm-nd-shutter-speed-main-content {
	position: relative;
	isolation: isolate;
	background: transparent;
}

#main-content.tnm-nd-shutter-speed-main-content::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: #f9f9f9;
	z-index: -1;
}

.tnm-nd-shutter-speed__page {
	--tnm-nd-shutter-speed-primary-color: #25313d;
	--tnm-nd-shutter-speed-bg-color: #f9f9f9;
	--tnm-nd-shutter-speed-border-color: #d4dce3;
	--tnm-nd-shutter-speed-accent-color: #2d5f86;
	--tnm-nd-shutter-speed-panel-bg: #eef4f8;
	--tnm-nd-shutter-speed-card-bg: #ffffff;
	--tnm-nd-shutter-speed-muted-color: #5d6975;
	color: var(--tnm-nd-shutter-speed-primary-color);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	max-width: 680px;
	margin: 0 auto;
	padding: 30px 15px;
	box-sizing: border-box;
}

.tnm-nd-shutter-speed__page *,
.tnm-nd-shutter-speed__page *::before,
.tnm-nd-shutter-speed__page *::after {
	box-sizing: border-box;
}

.tnm-nd-shutter-speed {
	color: inherit;
}

.tnm-nd-shutter-speed__tool-container {
	background: #fff;
	padding: 25px;
	border: 1px solid var(--tnm-nd-shutter-speed-border-color);
	border-radius: 14px;
	box-shadow: 0 14px 32px rgba(37, 49, 61, 0.08);
}

.tnm-nd-shutter-speed__heading {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.5rem;
	text-align: center;
	color: var(--tnm-nd-shutter-speed-primary-color);
}

.tnm-nd-shutter-speed__input-group {
	margin-bottom: 15px;
}

.tnm-nd-shutter-speed__label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #555;
}

.tnm-nd-shutter-speed__text-input,
.tnm-nd-shutter-speed__select,
.tnm-nd-shutter-speed__step-input {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	border: 1px solid var(--tnm-nd-shutter-speed-border-color);
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tnm-nd-shutter-speed__select:focus,
.tnm-nd-shutter-speed__step-input:focus {
	outline: none;
	border-color: #90aec7;
	box-shadow: 0 0 0 4px rgba(45, 95, 134, 0.12);
}

.tnm-nd-shutter-speed__help-text,
.tnm-nd-shutter-speed__panel-help {
	margin: 4px 0 0;
	font-size: 0.75rem;
	color: var(--tnm-nd-shutter-speed-muted-color);
}

.tnm-nd-shutter-speed__checkbox-group {
	margin: 20px 0 10px;
	font-size: 0.9rem;
}

.tnm-nd-shutter-speed__checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	cursor: pointer;
}

.tnm-nd-shutter-speed__checkbox-label input {
	margin: 0;
	transform: scale(1.2);
}

.tnm-nd-shutter-speed__option-panel {
	margin-bottom: 15px;
	padding: 18px;
	background: var(--tnm-nd-shutter-speed-panel-bg);
	border: 1px inset #d1d9e0;
	border-radius: 12px;
}

.tnm-nd-shutter-speed__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
	margin-bottom: 10px;
}

.tnm-nd-shutter-speed__step-selector {
	display: flex;
	gap: 4px;
}

.tnm-nd-shutter-speed__step-input {
	text-align: center;
	background-color: #f0f0f0;
	font-weight: 700;
}

.tnm-nd-shutter-speed__step-input--editable {
	background-color: #fff;
}

.tnm-nd-shutter-speed__step-button {
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: none;
	border-radius: 10px;
	background: #4d6174;
	color: #fff;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.tnm-nd-shutter-speed__step-button:hover {
	background: #32485d;
}

.tnm-nd-shutter-speed__step-button:active {
	background: #26394b;
	transform: translateY(1px);
}

.tnm-nd-shutter-speed__result-area {
	margin-top: 25px;
	padding: 20px;
	background: linear-gradient(180deg, #f2f8fd 0%, #e9f4fb 100%);
	border: 1px solid #bfd6e8;
	border-radius: 14px;
	text-align: center;
}

.tnm-nd-shutter-speed__result-label {
	font-size: 0.9rem;
	font-weight: 700;
	color: #666;
}

.tnm-nd-shutter-speed__result-value {
	display: block;
	margin: 5px 0;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--tnm-nd-shutter-speed-accent-color);
}

.tnm-nd-shutter-speed__bulb-warning {
	margin-top: 10px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #d93025;
}

.tnm-nd-shutter-speed__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.tnm-nd-shutter-speed__reset-button {
	padding: 6px 12px;
	border: 1px solid #c5d0d9;
	border-radius: 999px;
	background: #fff;
	color: #4b5d6e;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tnm-nd-shutter-speed__reset-button:hover {
	background: #f4f7fa;
	border-color: #aebcc8;
	color: #334556;
}

.tnm-nd-shutter-speed__dialog-open {
	overflow: hidden;
}

.tnm-nd-shutter-speed__dialog {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.tnm-nd-shutter-speed__dialog-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(37, 49, 61, 0.28);
}

.tnm-nd-shutter-speed__dialog-panel {
	position: relative;
	width: min(92vw, 360px);
	margin: min(20vh, 160px) auto 0;
	padding: 22px;
	background: #fff;
	border: 1px solid #d9e1e8;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(37, 49, 61, 0.16);
	text-align: left;
}

.tnm-nd-shutter-speed__dialog-message {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #33414e;
}

.tnm-nd-shutter-speed__dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}

.tnm-nd-shutter-speed__dialog-button {
	padding: 8px 14px;
	border: 1px solid #2d5f86;
	border-radius: 10px;
	background: #2d5f86;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

.tnm-nd-shutter-speed__dialog-button--ghost {
	border-color: #ccd6df;
	background: #fff;
	color: #4c5e6f;
}

.tnm-nd-shutter-speed__content-section {
	margin-top: 40px;
	display: grid;
	gap: 18px;
}


.tnm-nd-shutter-speed__content-block {
	padding: 22px 22px 20px;
	background: var(--tnm-nd-shutter-speed-card-bg);
	border: 1px solid var(--tnm-nd-shutter-speed-border-color);
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(37, 49, 61, 0.05);
}

.tnm-nd-shutter-speed__section-heading {
	margin-top: 0;
	margin-bottom: 14px;
	padding-left: 12px;
	border-left: 5px solid var(--tnm-nd-shutter-speed-accent-color);
	font-size: 1.25rem;
	color: #222;
}

.tnm-nd-shutter-speed__paragraph,
.tnm-nd-shutter-speed__list li {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #444;
}


.tnm-nd-shutter-speed__paragraph {
	margin: 0 0 12px;
}

.tnm-nd-shutter-speed__paragraph:last-child {
	margin-bottom: 0;
}

.tnm-nd-shutter-speed__list {
	margin: 0;
	padding-left: 20px;
}

.tnm-nd-shutter-speed__list li + li {
	margin-top: 10px;
}

@media (max-width: 640px) {
	.tnm-nd-shutter-speed__page {
		padding: 24px 10px;
	}

	.tnm-nd-shutter-speed__tool-container {
		padding: 18px;
	}

	.tnm-nd-shutter-speed__grid {
		grid-template-columns: 1fr;
	}

	.tnm-nd-shutter-speed__result-value {
		font-size: 1.8rem;
	}

	.tnm-nd-shutter-speed__content-block {
		padding: 18px 16px;
	}
}
