.t-j2p {
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
	color: #1f2430;
}

.t-j2p-dropzone {
	border: 2px dashed #b9c0cc;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	background: #fafbfc;
}

.t-j2p-dropzone:hover,
.t-j2p-dropzone:focus-visible,
.t-j2p-dropzone.t-j2p-dragover {
	border-color: #5b6bf5;
	background: #f2f3ff;
	outline: none;
}

.t-j2p-icon {
	color: #5b6bf5;
	margin-bottom: 8px;
}

.t-j2p-main-text {
	margin: 4px 0;
	font-size: 16px;
	font-weight: 600;
}

.t-j2p-sub-text {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}

.t-j2p-options {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 18px;
}

.t-j2p-option {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}

.t-j2p-option select {
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid #d1d5db;
	background: #fff;
	font-size: 13px;
}

.t-j2p-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.t-j2p-thumb {
	position: relative;
	border: 1px solid #e2e5eb;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	cursor: grab;
	user-select: none;
}

.t-j2p-thumb.t-j2p-dragging {
	opacity: 0.4;
}

.t-j2p-thumb img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
}

.t-j2p-thumb-index {
	position: absolute;
	top: 4px;
	left: 4px;
	background: rgba(17, 24, 39, 0.75);
	color: #fff;
	font-size: 11px;
	line-height: 1;
	padding: 3px 6px;
	border-radius: 4px;
}

.t-j2p-thumb-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
	background: rgba(17, 24, 39, 0.75);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.t-j2p-thumb-remove:hover {
	background: #e0455f;
}

.t-j2p-thumb-name {
	font-size: 10px;
	color: #6b7280;
	padding: 4px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.t-j2p-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: #9aa1ac;
}

.t-j2p-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}

.t-j2p-btn {
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.t-j2p-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.t-j2p-btn-primary {
	background: #5b6bf5;
	color: #fff;
}

.t-j2p-btn-primary:hover:not(:disabled) {
	background: #4856d6;
}

.t-j2p-btn-secondary {
	background: #eef0f4;
	color: #374151;
}

.t-j2p-btn-secondary:hover:not(:disabled) {
	background: #e2e5eb;
}

.t-j2p-status {
	margin-top: 14px;
	font-size: 13px;
	min-height: 18px;
}

.t-j2p-status.t-j2p-status-error {
	color: #c0293c;
}

.t-j2p-status.t-j2p-status-success {
	color: #1a8a4a;
}

.t-j2p-privacy {
	margin-top: 20px;
	font-size: 12px;
	color: #9aa1ac;
	text-align: center;
}
