/**
 * Imaoikiruhito Custom Post Protector - Frontend Styles
 * フロントエンド用スタイル
 */

/* ==========================================================================
   パスワードフォーム - ラッパー
   ========================================================================== */

.icpp-password-form-wrapper {
	max-width: 600px;
	margin: 60px auto;
	padding: 0 20px;
}

.icpp-password-form {
	background: #ffffff !important;  /* ★常に明るく */
	border: 1px solid #e0e0e0 !important;
	border-radius: 12px;
	padding: 50px 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
}

.icpp-password-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0073aa 0%, #005177 100%);
}

/* ==========================================================================
   フォームタイトルとメッセージ
   ========================================================================== */

.icpp-form-title {
	margin: 0 0 10px;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a !important;  /* ★常に暗い色 */
	text-align: center;
	line-height: 1.3;
}

.icpp-form-message {
	margin: 0 0 30px;
	font-size: 15px;
	color: #666666 !important;  /* ★常に暗い色 */
	text-align: center;
	line-height: 1.6;
}

/* 鍵アイコンのスタイル */
.icpp-lock-icon {
	display: inline-block;
	font-size: 20px;
	margin-right: 8px;
	vertical-align: middle;
	opacity: 0.9;
}

/* デザインバリエーション別の調整 */
.icpp-design-default .icpp-lock-icon {
	font-size: 22px;
	opacity: 1;
}

.icpp-design-simple .icpp-lock-icon {
	font-size: 20px;
	opacity: 0.8;
}

.icpp-design-border .icpp-lock-icon {
	font-size: 24px;
	color: #0073aa;
}

.icpp-design-dark .icpp-lock-icon {
	font-size: 22px;
	opacity: 1;  /* ★filter: brightness削除 */
}

/* ==========================================================================
   エラーメッセージ・成功メッセージ
   ========================================================================== */

.icpp-error-message {
	background: linear-gradient(135deg, #fff5f5 0%, #ffe9e9 100%);
	border: 2px solid #ff6b6b;
	border-radius: 8px;
	color: #d63031;
	padding: 15px 20px;
	margin: 0 0 25px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	position: relative;
	animation: slideInDown 0.4s ease-out, shake 0.5s ease-in-out;
}

.icpp-error-message::before {
	content: "⚠";
	font-size: 20px;
	margin-right: 8px;
	vertical-align: middle;
}

.icpp-success-message {
	background: linear-gradient(135deg, #f0fff4 0%, #d4edda 100%);
	border: 2px solid #28a745;
	border-radius: 8px;
	color: #155724;
	padding: 15px 20px;
	margin: 0 0 25px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	animation: slideInDown 0.4s ease-out;
}

.icpp-success-message::before {
	content: "✓";
	font-size: 20px;
	margin-right: 8px;
	vertical-align: middle;
	color: #28a745;
	font-weight: bold;
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
	20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* ==========================================================================
   フォームフィールド
   ========================================================================== */

.icpp-form {
	margin: 0;
}

.icpp-form-field {
	margin-bottom: 20px;
	position: relative;
}

.icpp-password-input {
	width: 100%;
	padding: 16px 20px;
	font-size: 16px;
	border: 2px solid #e0e0e0 !important;  /* ★常に明るく */
	border-radius: 8px;
	transition: all 0.3s ease;
	box-sizing: border-box;
	background: #fafafa !important;  /* ★常に明るく */
	color: #333 !important;  /* ★常に暗い色 */
}

.icpp-password-input:focus {
	outline: none;
	border-color: #0073aa !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1);
	transform: translateY(-1px);
}

.icpp-password-input::placeholder {
	color: #999999 !important;  /* ★常に明るいグレー */
	font-weight: 400;
}

.icpp-form-field::before {
	content: "🔑";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	opacity: 0.5;
	pointer-events: none;
}

.icpp-password-input:focus + .icpp-form-field::before,
.icpp-form-field:has(.icpp-password-input:focus)::before {
	opacity: 0.8;
}

/* ==========================================================================
   送信ボタン
   ========================================================================== */

.icpp-form-submit {
	margin: 0;
}

.icpp-submit-button {
	width: 100%;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.icpp-submit-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.icpp-submit-button:hover {
	background: linear-gradient(135deg, #005a87 0%, #003d5c 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 115, 170, 0.3);
}

.icpp-submit-button:hover::before {
	left: 100%;
}

.icpp-submit-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(0, 115, 170, 0.2);
}

.icpp-submit-button:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.3);
}

.icpp-submit-button:disabled {
	background: #cccccc;
	cursor: not-allowed;
	opacity: 0.6;
	transform: none;
}

/* ==========================================================================
   残り試行回数・ローディング状態
   ========================================================================== */

.icpp-attempts-remaining {
	font-size: 13px;
	color: #e67e22;
	text-align: center;
	margin: 15px 0 0;
	padding: 12px;
	background: linear-gradient(135deg, #fff8f0 0%, #ffe9d5 100%);
	border-radius: 6px;
	border-left: 4px solid #e67e22;
	font-weight: 600;
	animation: fadeIn 0.3s ease-out;
}

.icpp-attempts-remaining::before {
	content: "⏱";
	margin-right: 6px;
	font-size: 16px;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.icpp-loading .icpp-submit-button {
	position: relative;
	color: transparent;
	pointer-events: none;
}

.icpp-loading .icpp-submit-button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin: -12px 0 0 -12px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ==========================================================================
   アーカイブパスワードフォーム
   ========================================================================== */

.icpp-archive-password-wrapper {
	max-width: 800px;
	margin: 100px auto;
	padding: 0 20px;
}

.icpp-archive-password-form {
	background: #ffffff !important;  /* ★常に明るく */
	border: 1px solid #e0e0e0 !important;
	border-radius: 16px;
	padding: 60px 50px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.icpp-archive-password-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #0073aa 0%, #005177 50%, #0073aa 100%);
	background-size: 200% 100%;
	animation: gradient 3s ease infinite;
}

@keyframes gradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.icpp-archive-title {
	margin: 0 0 40px;
	font-size: 36px;
	font-weight: 800;
	color: #1a1a1a !important;
	text-align: center;
	line-height: 1.2;
}

.icpp-form-container {
	max-width: 500px;
	margin: 0 auto;
}

.icpp-archive-form .icpp-form-title {
	font-size: 24px;
}

.icpp-archive-form .icpp-form-message {
	font-size: 15px;
	margin-bottom: 25px;
}

/* ==========================================================================
   ロックアウトメッセージ
   ========================================================================== */

.icpp-lockout-message {
	max-width: 700px;
	margin: 100px auto;
	padding: 50px 40px;
	background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
	border: 3px solid #ffa000;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(255, 160, 0, 0.2);
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { box-shadow: 0 10px 40px rgba(255, 160, 0, 0.2); }
	50% { box-shadow: 0 15px 50px rgba(255, 160, 0, 0.3); }
}

.icpp-lockout-message h1 {
	margin: 0 0 20px;
	font-size: 32px;
	color: #e65100;
	font-weight: 800;
}

.icpp-lockout-message h1::before {
	content: "🚫";
	display: block;
	font-size: 64px;
	margin-bottom: 20px;
}

.icpp-lockout-message p {
	margin: 0;
	font-size: 17px;
	color: #e65100;
	line-height: 1.8;
	font-weight: 500;
}

/* ==========================================================================
   アーカイブページでの保護された投稿
   ========================================================================== */

.icpp-protected-notice {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: linear-gradient(135deg, #fff3cd 0%, #ffe9a0 100%);
	border: 1px solid #ffc107;
	border-radius: 6px;
	color: #856404;
	font-size: 14px;
	font-weight: 600;
	margin: 10px 0;
	line-height: 1.4;
}

.icpp-archive-excerpt {
	color: #666;
	line-height: 1.6;
	margin-bottom: 12px;
}

.icpp-protected-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* アイキャッチ画像のオーバーレイ */
.icpp-protected-thumbnail-container {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.icpp-thumbnail-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.icpp-protected-thumbnail-container:hover .icpp-thumbnail-overlay {
	opacity: 1;
}

.icpp-lock-icon {
	font-size: 48px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
	animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* 単一投稿ページでの保護コンテンツ */
.icpp-protected-thumbnail-wrapper {
	margin-bottom: 25px;
}

.icpp-protected-thumbnail {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 単一投稿ページの抜粋 */
.icpp-protected-excerpt {
	margin-bottom: 30px;
	padding: 15px 20px;
	background: #f8f9fa;
	border-left: 3px solid #dee2e6;
	border-radius: 4px;
}

.icpp-protected-excerpt p {
	margin: 0;
	color: #6c757d;
	line-height: 1.7;
	font-size: 14px;
}

/* アーカイブリストアイテム */
.hentry.icpp-protected,
article.icpp-protected {
	position: relative;
}

.hentry.icpp-protected::before,
article.icpp-protected::before {
	content: "🔒 保護中";
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffc107;
	color: #000;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* テーマ互換性 */
.post.icpp-protected .entry-content,
.article.icpp-protected .entry-content {
	position: relative;
}

.wp-block-post.icpp-protected {
	border: 2px solid #ffc107;
	border-radius: 8px;
	background: linear-gradient(to bottom, #ffffff 0%, #fffef8 100%);
	padding: 15px;
}

.wp-block-post-template .icpp-protected-notice {
	margin-top: 10px;
}

/* ==========================================================================
   レスポンシブデザイン（統合版）
   ========================================================================== */

@media screen and (max-width: 768px) {
	.icpp-password-form-wrapper,
	.icpp-archive-password-wrapper {
		margin: 40px auto;
		padding: 0 15px;
	}

	.icpp-password-form,
	.icpp-archive-password-form {
		padding: 40px 25px;
		border-radius: 10px;
	}

	.icpp-form-title {
		font-size: 22px;
	}

	.icpp-form-title::before {
		font-size: 40px;
		margin-bottom: 12px;
	}

	.icpp-form-message {
		font-size: 14px;
		margin-bottom: 25px;
	}

	.icpp-password-input,
	.icpp-submit-button {
		font-size: 15px;
		padding: 14px 18px;
	}

	.icpp-archive-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.icpp-lockout-message {
		margin: 60px auto;
		padding: 40px 25px;
	}

	.icpp-lockout-message h1 {
		font-size: 26px;
	}

	.icpp-lockout-message h1::before {
		font-size: 52px;
	}

	.icpp-lockout-message p {
		font-size: 15px;
	}

	/* アーカイブ用 */
	.icpp-protected-notice {
		font-size: 13px;
		padding: 6px 12px;
	}

	.icpp-lock-icon {
		font-size: 36px;
	}

	.icpp-protected-excerpt {
		padding: 15px;
	}

	.icpp-protected-excerpt p {
		font-size: 14px;
	}

	.hentry.icpp-protected::before,
	article.icpp-protected::before {
		font-size: 11px;
		padding: 3px 10px;
	}
}

@media screen and (max-width: 480px) {
	.icpp-password-form,
	.icpp-archive-password-form {
		padding: 30px 20px;
	}

	.icpp-form-title {
		font-size: 20px;
	}

	.icpp-form-title::before {
		font-size: 36px;
	}

	.icpp-form-message {
		font-size: 13px;
		margin-bottom: 20px;
	}

	.icpp-password-input {
		padding: 12px 16px;
		font-size: 14px;
	}

	.icpp-submit-button {
		padding: 13px 18px;
		font-size: 14px;
		letter-spacing: 0.3px;
	}

	.icpp-error-message,
	.icpp-success-message {
		padding: 12px 15px;
		font-size: 13px;
	}

	.icpp-archive-title {
		font-size: 24px;
		margin-bottom: 25px;
	}

	/* アーカイブ用 */
	.icpp-protected-notice {
		font-size: 12px;
		padding: 5px 10px;
	}

	.icpp-lock-icon {
		font-size: 32px;
	}

	.icpp-protected-excerpt {
		padding: 12px;
	}

	.icpp-protected-thumbnail {
		border-radius: 8px;
	}
}

/* ==========================================================================
   アクセシビリティ対応（統合版）
   ========================================================================== */

.icpp-password-input:focus,
.icpp-submit-button:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

@media (prefers-contrast: high) {
	.icpp-password-form,
	.icpp-archive-password-form,
	.icpp-password-input,
	.icpp-submit-button,
	.icpp-error-message,
	.icpp-success-message,
	.icpp-lockout-message {
		border-width: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.icpp-password-input,
	.icpp-submit-button,
	.icpp-error-message,
	.icpp-success-message,
	.icpp-thumbnail-overlay,
	.icpp-lockout-message {
		transition: none;
		animation: none;
	}

	.icpp-submit-button:active {
		transform: none;
	}

	.icpp-lock-icon {
		animation: none;
	}
}

/* ==========================================================================
   フォームデザイン - バリエーション
   ========================================================================== */

/* ========================================
   デフォルトデザイン（明るい青系に変更）
   ======================================== */
.icpp-design-default {
	background: #ffffff !important;  /* ★常に明るく */
	border: 1px solid #e0e0e0 !important;
	border-radius: 12px;
	padding: 40px 30px;
	box-shadow: 0 4px 16px rgba(0, 115, 170, 0.1);
	position: relative;
}

.icpp-design-default::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0073aa 0%, #00a0d2 100%);
	border-radius: 12px 12px 0 0;
}

.icpp-design-default .icpp-form-title {
	font-size: 24px;
	font-weight: 700;
	color: #0073aa !important;
	margin-bottom: 15px;
}

.icpp-design-default .icpp-form-message {
	color: #666 !important;
	font-size: 15px;
	margin-bottom: 25px;
}

.icpp-design-default .icpp-password-input {
	background: #f8f9fa !important;
	border: 2px solid #d0d0d0 !important;
	color: #333 !important;
	border-radius: 6px;
	padding: 14px 18px;
	font-size: 15px;
	transition: all 0.3s;
}

.icpp-design-default .icpp-password-input:focus {
	background: #ffffff !important;
	border-color: #0073aa !important;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.icpp-design-default .icpp-password-input::placeholder {
	color: #999 !important;
}

.icpp-design-default .icpp-submit-button {
	background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
	border: none;
	border-radius: 6px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: 0.5px;
	transition: all 0.3s;
}

.icpp-design-default .icpp-submit-button:hover {
	background: linear-gradient(135deg, #005a87 0%, #007ba3 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.icpp-design-default .icpp-error-message {
	background: #fff5f5;
	border: 1px solid #ff6b6b;
	color: #d63031;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.icpp-design-default .icpp-archive-title {
	color: #0073aa !important;
	font-size: 30px;
	font-weight: 800;
	margin-bottom: 35px;
}

/* ========================================
   シンプルデザイン
   ======================================== */
.icpp-design-simple {
	background: #ffffff !important;  /* ★常に明るく */
	border: 1px solid #ddd !important;
	border-radius: 8px;
	padding: 40px 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.icpp-design-simple::before {
	display: none; /* 上部のグラデーションバーを非表示. */
}

.icpp-design-simple .icpp-form-title {
	font-size: 22px;
	font-weight: 600;
	color: #333 !important;
}

.icpp-design-simple .icpp-form-message {
	color: #666 !important;
	font-size: 14px;
}

.icpp-design-simple .icpp-password-input {
	background: #ffffff !important;
	border: 1px solid #ddd !important;
	color: #333 !important;
	border-radius: 4px;
	padding: 12px 16px;
	font-size: 15px;
	transition: border-color 0.2s;
}

.icpp-design-simple .icpp-password-input:focus {
	border-color: #333 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
	transform: none;
}

.icpp-design-simple .icpp-password-input::placeholder {
	color: #999 !important;
}

.icpp-design-simple .icpp-form-field::before {
	display: none; /* アイコンを非表示. */
}

.icpp-design-simple .icpp-submit-button {
	background: #333;
	border-radius: 4px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	text-transform: none;
	letter-spacing: 0;
}

.icpp-design-simple .icpp-submit-button:hover {
	background: #000;
	transform: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.icpp-design-simple .icpp-submit-button::before {
	display: none;
}

.icpp-design-simple .icpp-archive-title {
	color: #333 !important;
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 30px;
}

/* ========================================
   ボーダー強調デザイン
   ======================================== */
.icpp-design-border {
	background: #ffffff !important;  /* ★常に明るく */
	border: 4px solid #0073aa !important;
	border-radius: 12px;
	padding: 50px 40px;
	box-shadow: 0 8px 24px rgba(0, 115, 170, 0.15);
	position: relative;
}

.icpp-design-border::before {
	content: "";
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	background: linear-gradient(135deg, #0073aa 0%, #00a0d2 50%, #0073aa 100%);
	border-radius: 12px;
	z-index: -1;
	animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

.icpp-design-border .icpp-form-title {
	font-size: 28px;
	font-weight: 800;
	color: #0073aa !important;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.icpp-design-border .icpp-password-input {
	background: #ffffff !important;
	border: 3px solid #0073aa !important;
	color: #333 !important;
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 500;
}

.icpp-design-border .icpp-password-input:focus {
	border-color: #00a0d2 !important;
	box-shadow: 0 0 0 4px rgba(0, 160, 210, 0.2);
}

.icpp-design-border .icpp-password-input::placeholder {
	color: #999 !important;
}

.icpp-design-border .icpp-submit-button {
	background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
	border: 3px solid #0073aa;
	border-radius: 8px;
	padding: 16px 32px;
	font-size: 17px;
	font-weight: 800;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.icpp-design-border .icpp-submit-button:hover {
	background: linear-gradient(135deg, #005a87 0%, #007ba3 100%);
	border-color: #005a87;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 115, 170, 0.4);
}

/* ==========================================================================
   レスポンシブ - デザイン別調整
   ========================================================================== */

@media screen and (max-width: 768px) {
	.icpp-design-default {
		padding: 35px 25px;
	}

	.icpp-design-border {
		padding: 40px 25px;
		border-width: 3px;
	}

	.icpp-design-border .icpp-form-title {
		font-size: 24px;
	}

	.icpp-design-dark {
		padding: 40px 25px;
	}

	.icpp-design-dark .icpp-form-title {
		font-size: 24px;
	}

	.icpp-archive-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.icpp-design-border .icpp-archive-title {
		font-size: 26px;
	}

	.icpp-design-dark .icpp-archive-title {
		font-size: 28px;
	}
}

@media screen and (max-width: 480px) {
	.icpp-design-default {
		padding: 30px 20px;
	}

	.icpp-design-simple {
		padding: 30px 20px;
	}

	.icpp-design-border {
		padding: 30px 20px;
		border-width: 2px;
	}

	.icpp-design-border .icpp-form-title {
		font-size: 20px;
		letter-spacing: 0.5px;
	}

	.icpp-design-border .icpp-password-input,
	.icpp-design-border .icpp-submit-button {
		border-width: 2px;
	}

	.icpp-design-dark {
		padding: 30px 20px;
	}

	.icpp-design-dark .icpp-form-title {
		font-size: 22px;
	}

	.icpp-archive-title {
		font-size: 22px;
		margin-bottom: 20px;
	}

	.icpp-design-border .icpp-archive-title {
		font-size: 20px;
	}

	.icpp-design-dark .icpp-archive-title {
		font-size: 22px;
	}
}

/* ==========================================================================
   ログアウトリンク
   ========================================================================== */

.icpp-logout-wrapper {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

.icpp-logout-link {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	color: #666;
	text-decoration: none;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.icpp-logout-link:hover {
	color: #333;
	background: #e9ecef;
	border-color: #adb5bd;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icpp-logout-link:active {
	transform: translateY(0);
	box-shadow: none;
}

/* ボタンスタイル（ショートコード用） */
.icpp-logout-link.button {
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
	border: none;
	border-radius: 6px;
}

.icpp-logout-link.button:hover {
	background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
	color: #fff;
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ローディング状態 */
.icpp-logout-link.loading {
	position: relative;
	color: transparent;
	pointer-events: none;
	opacity: 0.7;
}

.icpp-logout-link.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

/* レスポンシブ */
@media screen and (max-width: 480px) {
	.icpp-logout-wrapper {
		margin-top: 30px;
		padding-top: 20px;
	}

	.icpp-logout-link {
		padding: 8px 16px;
		font-size: 13px;
	}

	.icpp-logout-link.button {
		padding: 10px 20px;
		font-size: 14px;
	}
}
