/* Post Submission Modal Styles */
.post-submission-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.post-submission-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
	animation: modalFadeIn 0.3s ease;
}

.post-submission-modal__content {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 500px;
	max-height: 78vh;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 1;
	animation: modalSlideUp 0.3s ease;
}

.post-submission-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid #e0e0e0;
	background-color: var(--color_main);
}

.post-submission-modal__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: white;
}

.post-submission-modal__close {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: white;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.post-submission-modal__close:hover {
	color: #000;
}
a{
   text-decoration: none !important;
}
.post-submission-form {
	padding: 24px 36px;
	overflow-y: auto;
	flex: 1;
	scrollbar-width: none;
	-ms-overflow-style: none;
	background: white;
}

.post-submission-form__field {
	margin-bottom: 20px;
}

.post-submission-form__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.post-submission-form__label .required {
	color: #e74c3c;
	margin-left: 4px;
}

.post-submission-form__input {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 2px solid var(--color_main) !important;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background-color: #fff;
}

.post-submission-form__input:focus {
	outline: none;
	/* border-color: #0073aa; */
	/* box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); */
}

.post-submission-form__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: 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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
	cursor: pointer;
}

/* Hover color for options in start/end time selects */
/* #post-submission-modal .post-submission-form__select option:hover,
#post-submission-modal .post-submission-form__select option:focus {
	background-color: rgba(128, 128, 128, 0.89) !important;
}
#post-submission-modal .post-submission-form__select option:checked {
	background-color: rgba(128, 128, 128, 0.89) !important;
} */

.post-submission-form__input.error {
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.post-submission-form__input.error:focus {
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

/* Custom styled file input (replaces native "Choose File" look) */
.post-submission-form__file-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	min-height: 54px;
	padding: 0 4px;
}
.post-submission-form__file-input {
	position: absolute !important;
	width: 0.1px !important;
	height: 0.1px !important;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}
.post-submission-form__file-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: black;
	/* background-color: rgba(3, 18, 34, 0.9); */
	border: 2px solid rgba(3, 18, 34, 0.9);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}
.post-submission-form__file-label:hover {
	background-color: var(--color_main);
	border-color: var(--color_main);
	color: white;
	/* font-size: 1.1rem; */
}
.post-submission-form__file-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.post-submission-form__file-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}
.post-submission-form__file-name {
	font-size: 14px;
	color: #333;
	opacity: 0.9;
}

/* 料金スライダー（0円〜100,000円・1,000円単位） */
.post-submission-form__field--fee .post-submission-form__fee-slider-wrap {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.post-submission-form__fee-slider {
	flex: 1;
	min-width: 120px;
	height: 8px;
	-webkit-appearance: none;
	appearance: none;
	background: #e0e0e0;
	border-radius: 4px;
	outline: none;
}
.post-submission-form__fee-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(3, 18, 34, 0.9);
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	transition: background 0.2s;
}
.post-submission-form__fee-slider::-webkit-slider-thumb:hover {
	background: rgba(3, 18, 34, 0.9);
}
.post-submission-form__fee-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(3, 18, 34, 0.9);
	cursor: pointer;
	border: none;
	box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.post-submission-form__fee-display {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	min-width: 100px;
	text-align: right;
}

.post-submission-form__actions {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.post-submission-form__submit {
	width: 100%;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background-color: var(--color_main);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.post-submission-form__submit:hover:not(:disabled) {
	background-color: var(--color_main);
}

.post-submission-form__submit:active:not(:disabled) {
	transform: scale(0.98);
}

.post-submission-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.post-submission-form__submit:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Responsive Design */
@media (max-width: 600px) {
	.post-submission-modal__content {
		width: 95%;
		max-height: 95vh;
	}
	
	.post-submission-modal__header {
		padding: 16px 20px;
	}
	
	.post-submission-modal__title {
		font-size: 20px;
	}
	
	.post-submission-form {
		padding: 20px;
	}
}

