/* Story Submission Plugin Styles */

/* Lightbox Modal Styles */
#story-lightbox-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

#story-lightbox-modal[style*="display: flex"] {
	display: flex !important;
}

.story-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-lightbox-container {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	background-color: white;
	border-radius: 8px;
	overflow: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-lightbox-content {
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.story-lightbox-content img,
.story-lightbox-content video {
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
}

.story-lightbox-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 32px;
	font-weight: bold;
	color: #333;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	transition: color 0.2s;
}

.story-lightbox-close:hover {
	color: #d32f2f;
}

.story-lightbox-prev,
.story-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 24px;
	padding: 10px 15px;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.2s;
	display: none;
}

.story-lightbox-prev:hover,
.story-lightbox-next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.story-lightbox-prev {
	left: 10px;
}

.story-lightbox-next {
	right: 10px;
}

/* General Styles */

a {
	text-decoration: none !important;
}

.padding-style-1 {
	padding: 80px;
}

.w-70-style {
	max-width: 70%;
	margin: 0 auto;
}

.story-form-container,
.story-auth-container,
.story-dashboard-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* Authentication Styles - New Design */
.story-auth-container {
	padding: 30px;
	border: 0.3px solid #757575;
	border-radius: 20px;
	background-color: #F8F8F8;
	/* min-height: 90vh; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-auth-card {
	background-image: url("../images/ino-bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 16px;
	width: 100%;
	margin: 0 auto;
}

.story-auth-card-body {
	padding: 40px 36px;
	width: 50%;
	margin: auto;
}

.story-auth-title {
	font-size: 28px;
	font-weight: 600;
	color: #1E1E1E !important;
	margin: 0 0 8px;
	text-align: center;
}

.story-auth-subtitle {
	color: #000000;
	margin: 0 0 32px;
	font-size: 14px;
	text-align: center;
	font-weight: 500;
}

/* Form Styles - New Design */
.story-form-group {
	margin-bottom: 20px;
}

.story-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #1E1E1E;
	font-size: 14px;
}

.story-review-readonly {
	font-size: 12px;
}

.story-review-questions .story-review-question h4 {
	font-size: 12px;
}

.story-form-group input {
	padding: 25px;
}

.story-form-group .width-styles {
	padding: 25px 40px;
}

.story-form-group .select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 0.3px solid #959595 !important;
	border-radius: 8px !important;
	height: 45px !important;
}

.story-form-group .select2-container--default .select2-selection--multiple {
	border: 0.3px solid #959595 !important;
	border-radius: 8px !important;
	height: 45px !important;
}

.story-input-wrapper {
	position: relative;
	margin-bottom: 20px;
}

.story-input-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	z-index: 2;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-form-input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #ffffff;
	color: #1e1e1e;
	transition: all 0.2s ease;
}

.story-form-input:focus {
	outline: none;
	border-color: #007dfe;
	box-shadow: 0 0 0 3px rgba(0, 125, 254, 0.1);
}

.story-form-input::placeholder {
	color: #999;
}

.story-password-toggle {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #999;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.story-password-toggle:hover {
	color: #007dfe;
}

.story-password-toggle svg {
	display: block;
}

.story-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.story-form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.story-checkbox-group {
	margin: 0;
}

.story-checkbox-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	font-size: 14px;
	color: #1e1e1e;
	font-weight: 400;
}

.story-checkbox-group input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	border: 1.5px solid #d0d0d0;
	border-radius: 4px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
	flex-shrink: 0;
}

.story-checkbox-group input[type="checkbox"]:checked {
	background: #007dfe;
	border-color: #007dfe;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.story-checkbox-group input[type="checkbox"]:checked::before {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 11px;
	font-weight: 900;
}

.story-checkbox-group span {
	user-select: none;
}

/* Button Styles */
.story-btn {
	padding: 12px 32px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.story-btn-primary {
	background: linear-gradient(90deg, #0066dd 0%, #0052b3 100%);
	color: white;
	padding: 12px 28px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	width: auto;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	letter-spacing: -0.2px;
}

.story-btn-primary:hover {
	opacity: 0.93;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 102, 221, 0.3);
	color: white !important;
}

.story-btn-login,
.story-btn-signup {
	margin-top: 8px;
}

.story-btn-secondary {
	background: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}

.story-btn-secondary:hover {
	background: #e0e0e0;
	color: #333;
}

/* Edit section link/button shown in review blocks */
.story-review-edit-link {
	background: linear-gradient(180deg, #3f86ff 0%, #2b61d9 100%);
	border: 1px solid rgba(23,101,214,0.12);
	color: #ffffff;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(11,87,201,0.08);
	transition: transform .12s ease, box-shadow .12s ease;
}
.story-review-edit-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(11,87,201,0.14);
}

/* Thumbnail used in review media grids */
.story-review-media-thumbnail {
	width: 80px;
	height: 80px;
	background: #fff;
	border: 1px dashed #e6e9f2;
	border-radius: 8px;
	margin-right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.story-review-media-thumbnail img,
.story-review-media-thumbnail video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.story-review-media-remove {
	position: absolute;
	top: 6px;
	right: 6px;
	background: #d32f2f;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	line-height: 18px;
	cursor: pointer;
}

/* Dashboard layout and responsive tweaks */
.story-dashboard-wrapper {
	background: #F8F8F8;
	border-radius: 20px;
	padding: 18px;
	border: 0.3px solid #757575;
	backdrop-filter: blur(30px);
}

.story-dashboard-user {
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.story-user-menu {
	position: absolute;
	right: 0;
	top: 40px;
	background: #fff;
	border: 1px solid #e9eef7;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(20,40,80,0.08);
	display: none;
	min-width: 160px;
	z-index: 40;
}
.story-user-menu a {
	display: block;
	padding: 10px 12px;
	color: #16325c;
	text-decoration: none;
}
.story-user-menu a:hover {background:#f6f9ff}

/* Sidebar + main responsive */
.story-dashboard-layout {display:flex;}
.story-dashboard-sidebar {width:230px}
.story-dashboard-main {flex:1}

@media (max-width: 900px) {
	.story-dashboard-layout {flex-direction:column}
	.story-dashboard-sidebar {width:100% !important}
	.story-dashboard-header {flex-direction:column; align-items:flex-start}
	.story-review-media-thumbnail {width:64px;height:64px}
		.story-dashboard-nav {flex-direction: row !important;}
}

.width-styles-1 {
	width: 70%;
	display: flex !important;
	margin: auto;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Story Form Styles */
.story-form-container {
	padding: 40px;
	background: #F8F8F8;
	border: 0.3px solid #757575;
	border-radius: 20px;
	/* min-height: 100vh; */
}

.story-form-header {
	text-align: center;
	margin-bottom: 40px;
}

.story-form-header h1 {
	font-size: 36px;
	margin-bottom: 10px;
	color: #333;
}

.story-form-header p {
	color: #666;
	font-size: 18px;
}

.story-form-wrapper {
	background-image: url("../images/ino-bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 8px;
	padding: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.story-progress-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
	position: relative;
	padding: 20px 0;
}

.story-progress-step {
	flex: 1;
	position: relative;
	z-index: 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.story-progress-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: white;
	border: 2px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	transition: all 0.3s ease;
	position: relative;
}

.story-progress-step.active .story-progress-circle,
.story-progress-step.completed .story-progress-circle {
	border-color: #007DFE;
	background: #007DFE;
}

.story-progress-step.active .story-progress-icon,
.story-progress-step.completed .story-progress-icon {
	color: white;
	stroke: white;
}

.story-progress-step:not(.active):not(.completed) .story-progress-circle {
	border-color: #e0e0e0;
	background: white;
}

.story-progress-step:not(.active):not(.completed) .story-progress-icon {
	color: #666;
	stroke: #666;
}

.story-progress-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.3s ease;
}

.story-progress-label {
	font-size: 14px;
	color: #1E1E1E;
	font-weight: 600;
	margin-top: 8px;
	text-align: center;
}

.story-progress-step.active .story-progress-label,
.story-progress-step.completed .story-progress-label {
	color: #1E1E1E;
}

.story-step-connector {
	flex: 1;
	height: 2px;
	background: #e0e0e0;
	margin: 0 -50px;
	position: relative;
	top: -24px;
	z-index: 1;
	transition: background 0.3s ease;
}

.story-step-connector.completed {
	background: #007DFE;
}

/* Connect completed steps - connector after a completed step should be blue */
.story-progress-step.completed + .story-step-connector {
	background: #007DFE;
}

/* Inactive steps (not active and not completed) should be gray */
.story-progress-step:not(.active):not(.completed) .story-progress-circle {
	border-color: #e0e0e0;
	background: white;
}

.story-progress-step:not(.active):not(.completed) .story-progress-icon {
	color: #666;
	stroke: #666;
}

/* Select2 checkbox-like dropdown styles */
.select2-container--default .select2-selection--multiple {
	min-height: 48px;
	padding: 6px 10px;
	border-radius: 8px;
	position: relative;
}

/* Add arrow icon to select2 dropdown */
.select2-container--default.select2-container--focus .select2-selection--multiple::after,
.select2-container--default .select2-selection--multiple::after {
	content: '▼';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	color: #666;
	pointer-events: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-right: 20px;
}

.select2-container--default .select2-results__option .select2-result-with-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
}

.select2-result-with-checkbox input[type="checkbox"] {
	pointer-events: none;
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 2px solid #004B98;
	border-radius: 2px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 3L6 11L3 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.select2-result-with-checkbox input[type="checkbox"]:checked {
	background: #004B98;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 3L6 11L3 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}


.select2-container--open .select2-dropdown {
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Form Step */
.story-form-step {
	margin-bottom: 40px;
}

.story-form-step-border {
	border-left: 6px solid #004B98;
}

.story-form-step h2 {
	font-size: 20px !important;
	margin-bottom: 10px;
	color: #1E1E1E !important;
	font-weight: 700 !important;
	margin-left: 10px;
}

.story-form-step > p {
	color: #666;
	margin-bottom: 30px;
	margin-left: 10px;
}

/* Accordion Styles */
.story-accordion {
	/* border: 1px solid #ddd; */
	border-radius: 4px;
	overflow: hidden;
}

.story-accordion-item {
	border-bottom: 1px solid #ddd;
	margin-bottom: 10px;
}

.story-accordion-item:last-child {
	border-bottom: none;
}

.story-accordion-header {
	padding: 10px 20px;
	background: #f9f9f9;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	border: 0.6px solid #C5C5C5;
	border-radius: 10px;
}

.story-accordion-header:hover {
	background: #f0f0f0;
}

.story-accordion-header h3 {
	margin: 0;
	font-size: 16px !important;
	color: #333 !important;
	flex: 1;
}

.story-accordion-toggle {
	font-size: 24px;
	color: #757575;
	transition: transform 0.3s ease;
}

.story-accordion-item.active .story-accordion-header {
	background: transparent;
	border: none;
}

.story-accordion-item.active .story-accordion-content {
	background: transparent;
}

.story-accordion-item.active .story-accordion-toggle {
	transform: rotate(45deg);
}

.story-accordion-content {
	display: none;
	padding: 20px;
	background: white;
}

.story-accordion-item.active .story-accordion-content {
	display: block;
}

.story-accordion-content textarea {
	width: 100%;
	min-height: 150px;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14px;
	resize: vertical;
}

/* Wizard-specific layout */
.story-form-step-content {
	display: none;
}

.story-form-step-content.active {
	display: block;
}

.story-step-navigation {
	margin-top: 10px;
	align-items: center;
	justify-content: space-between;
}

.story-step-next-prev {
	display: flex;
	gap: 10px;
}

.story-review-step .story-form-navigation {
	justify-content: space-between;
}

/* Media upload grid – 5 boxes per row */
.story-media-section {
	margin-top: 30px;
	background: #FFFFFF;
	border: 0.6px solid #C5C5C5;
	border-radius: 10px;
	padding: 30px;
}

.story-media-section h3 {
	font-size: 18px;
	margin-bottom: 4px;
	color: #333;
	padding: 15px;
}

.story-media-subtitle {
	font-size: 13px;
	color: #000000;
	margin-bottom: 0 !important;
	text-align: center;
	font-weight: 400;
	font-style: italic;
	margin-top: 10px;
}

.story-media-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	width: 50%;
	margin: auto;
}

.story-media-grid-item {
	position: relative;
	border: 1px dashed #cbd5f5;
	border-radius: 8px;
	background: #f8f9ff;
	cursor: pointer;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	overflow: hidden;
}

.story-preview-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.story-preview-video {
    width: 100%;
    border-radius: 6px;
}

.story-doc-link {
    display: inline-block;
    color: #0073aa;
    font-weight: 600;
    text-decoration: underline;
}

.story-preview-wrapper {
    position: relative;
    display: inline-block;
}

.story-preview-delete {
    position: absolute; 
	top: 4px; 
	right: 4px; 
	background: rgb(211, 47, 47); 
	color: white; 
	border: none; 
	border-radius: 50%;
	width: 20px; 
	height: 20px; 
	cursor: pointer; 
	font-size: 14px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	z-index: 10; 
	line-height: 1;
}

.story-preview-delete:hover {
    background: red;
}

/* When a file is present hide the add icon and adjust layout */
.story-media-grid-item.has-file .story-media-add-icon {
	display: none !important;
}

.story-media-preview-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-media-item img,
.story-media-item video {
	display: block;
	width: 100%;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

/* Remove button inside preview */
.story-media-item .story-media-remove {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #D32F2F;
	color: white;
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	cursor: pointer;
	font-size: 18px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
	transition: all 0.2s ease;
}

.story-media-item .story-media-remove:hover {
	background: #B71C1C;
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.5);
	transform: scale(1.08);
}

.story-media-grid-item input[type="file"] {
	opacity: 0;
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.story-media-grid-item:hover {
	border-color: #667eea;
	background: #eef1ff;
}

.story-media-add-icon {
	font-size: 32px;
	color: #007DFE;
	font-weight: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.story-media-preview-inner img,
.story-media-preview-inner video {
	width: 100%;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

/* Review thumbnails small */
.story-review-media-thumbnail,
.story-review-media-strip img,
.story-review-media-strip video {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
}

/* Loading state for buttons */
.story-btn.is-loading {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Small viewport: allow progress bar scrolling and smaller circles */
@media (max-width: 640px) {
	.story-progress-circle { width: 36px; height: 36px; }
	.story-progress-step { min-width: 100px; }

	.story-accordion-header h3 {
		font-size: 12px !important;
		padding-right: 20px !important;
	}

		story-form-navigation

	.story-form-group input {
		padding: 22px;
	}

	.story-form-step>p {
		color: #666;
		margin-bottom: 20px;
		margin-left: 10px;
		font-size: 12px;
	}

	.story-media-grid {
		width: 100%;
	}

	.story-progress-bar {
		display: none;
	}

	.width-styles-1 {
		width: auto;
	}

	.story-form-row {
		gap: 0px;
	}

	.story-accordion-content textarea {
		font-size: 12px;
		min-height: 120px;
	}
	
	.story-form-group label {
		font-size: 12px;
	}

	.story-dashboard-wrapper {
		padding: 0px;
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

/* Review step */
.story-review-block {
	margin-bottom: 30px;
	padding: 22px 20px;
	border-radius: 8px;
	background: #f8f9ff;
	border: 1px solid #e0e7ff;
}

.story-review-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.story-review-block-header h3 {
	margin: 0;
	font-size: 18px;
	color: #111827;
}

.story-review-questions .story-review-question {
	margin-bottom: 16px;
	padding: 12px 14px;
	background: white;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.story-review-questions .story-review-question h4 {
	font-size: 14px;
	margin: 0 0 6px;
}

.story-review-questions .story-review-question p {
	font-size: 13px;
	margin: 0;
	color: #4b5563;
	white-space: pre-wrap;
}

.story-review-media-note {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 12px;
}

.story-review-media-strip {
	display: flex;
	gap: 10px;
    align-items: center;
    justify-content: center;
}

.story-review-media-thumbnail {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	background: #d1d5db;
	position: relative;
}

/* Review Basic Information - Read-only fields matching step 1 */
.story-review-basic-info {
	margin-top: 20px;
}

.story-review-readonly {
	padding: 14px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	/* background: #f9f9f9; */
	color: #1e1e1e;
	min-height: 48px;
	display: flex;
	align-items: center;
}

/* Review Media Uploads Section */
.story-review-media-section {
	margin-top: 20px;
}

.story-review-media-grid {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.story-review-media-grid .story-review-media-thumbnail {
	position: relative;
	width: 100px;
	height: 100px;
	border-radius: 8px;
	overflow: hidden;
	background: #f0f0f0;
	border: 1px solid #ddd;
}

.story-review-media-grid .story-review-media-thumbnail img,
.story-review-media-grid .story-review-media-thumbnail video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-review-media-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	cursor: pointer;
	font-size: 16px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	line-height: 1;
	padding: 0;
}

.story-review-media-remove:hover {
	background: rgba(211, 47, 47, 0.9);
	color: white;
}

.story-review-status-badge {
	display: inline-block;
	padding: 6px 12px;
	background: #20B2AA;
	color: white;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	margin-right: 15px;
}

.story-review-edit-text {
	color: #999;
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
}

/* Make basic info review items look like form inputs (read-only) */
.story-review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.story-review-grid .story-review-item label {
	display: block;
	font-size: 13px;
	color: #374151;
	margin-bottom: 6px;
}

.story-review-grid .story-review-item p {
	margin: 0;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	padding: 12px 14px;
	border-radius: 8px;
	min-height: 44px;
	color: #111827;
}

/* Highlight missing/empty review fields */
.story-review-missing {
	box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.08);
	border-left: 6px solid rgba(255, 167, 38, 0.9) !important;
	background: linear-gradient(90deg, rgba(255, 250, 240, 0.9), #fff) !important;
	padding: 16px 14px !important;
	margin-left: -16px !important;
	padding-left: 10px !important;
}

.story-review-missing .story-review-readonly {
	border-left: none;
	box-shadow: none;
	background: transparent;
}

.story-review-submit-row {
	margin-top: 30px;
}

.story-review-disclaimer {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 18px;
}

/* Media Upload */
.story-media-upload {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 30px;
}

.story-media-upload .story-upload-section {
	margin-bottom: 30px;
}

.story-media-upload .story-upload-section:nth-child(3) {
	grid-column: 1 / -1;
	max-width: 50%;
}

.story-upload-section h3 {
	margin-bottom: 15px;
	color: #333;
}

.story-upload-dropzone {
	border: 2px dashed #667eea;
	border-radius: 8px;
	padding: 40px 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #f8f9ff;
}

.story-upload-dropzone:hover {
	border-color: #764ba2;
	background: #f0f0ff;
}

.story-upload-dropzone p {
	color: #666;
	margin: 0;
}

.story-media-preview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 10px;
	margin-top: 15px;
}

/* Form Navigation */
.story-form-navigation {
	display: flex;
	gap: 15px;
	margin-top: 40px;
	justify-content: flex-end;
}

/* Dashboard Styles */

.story-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px;
	border-bottom: 0.3px solid #757575;
}

.story-dashboard-title {
	font-size: 22px !important;
	font-weight: 500 !important;
	color: #0E165D !important;
	margin: 0;
	letter-spacing: -0.3px;
}

.story-dashboard-user {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.story-dashboard-user-name {
	font-size: 14px;
	color: #0E165D;
	font-weight: 500;
	letter-spacing: -0.2px;
}

.story-dashboard-user-arrow {
	font-size: 12px;
	color: #0E165D;
	margin-left: 2px;
	font-weight: 500;
}

.story-dashboard-user-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e0e0e0;
}

.story-dashboard-user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-dashboard-layout {
	display: flex;
	/* min-height: calc(100vh - 80px); */
}

.story-dashboard-sidebar {
	width: 230px;
	/* background: #ffffff; */
	border-right: 0.3px solid #757575;
	padding: 24px 0;
}

.story-dashboard-nav {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.story-dashboard-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	color: #5a5a5a;
	text-decoration: none;
	transition: all 0.25s ease;
	font-weight: 500;
	font-size: 14px;
	margin: 0 8px;
	border-radius: 6px;
	letter-spacing: -0.2px;
}

.story-dashboard-nav-item:hover {
	background: #f8f8f8;
	color: #0066dd;
}

.story-dashboard-nav-item.active {
	background: #0066dd;
	color: white;
}

.story-dashboard-nav-item.active .story-dashboard-nav-icon {
	stroke: white;
}

.story-dashboard-nav-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: #5a5a5a;
	transition: stroke 0.25s ease;
}

.story-dashboard-nav-item:hover .story-dashboard-nav-icon {
	stroke: #0066dd;
}

.story-dashboard-content-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 28px;
	gap: 20px;
	padding: 30px;
	border-bottom: 0.3px solid #757575;
}

.story-dashboard-content-title {
	font-size: 26px !important;
	font-weight: 600 !important;
	color: #0E165D !important;
	margin: 0 0 6px 0;
	letter-spacing: -0.3px;
}

.story-dashboard-content-subtitle {
	font-size: 16px;
	color: #0E165D;
	font-weight: 400;
	margin: 0;
	letter-spacing: -0.1px;
}

/* Status Overview */
.story-status-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.story-status-card {
	background: white;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	gap: 15px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.story-status-icon {
	font-size: 32px;
	min-width: 50px;
	text-align: center;
}

.story-status-info {
	flex: 1;
}

.story-status-label {
	color: #999;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0;
}

.story-status-count {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin: 5px 0 0;
}

/* Story Status Tabs */
.story-status-tabs {
	display: flex;
	gap: 30px;
	/* border-bottom: 1px solid #e0e0e0; */
	/* margin-bottom: 24px; */
	padding: 0px 30px;
	margin-left: 30px;
}

.story-status-tab {
	padding: 12px 28px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-size: 16px;
	font-weight: 400;
	color: #0E165D;
	transition: all 0.25s ease;
	position: relative;
	top: 1px;
	letter-spacing: -0.2px;
}

.story-status-tab:hover {
	color: #0E165D;
	font-weight: 700;
	background-color: inherit;
}

.story-status-tab:focus {
	background-color: transparent !important;
	outline: none;
}

.story-status-tab.active {
	color: #0E165D;
	border-bottom: 5px solid #0066dd;
	font-weight: 700
}

.story-status-tab-count {
	font-weight: 400;
	color: inherit;
}

.story-status-tab.active .story-status-tab-count {
	font-weight: 700;
	color: inherit;
}

/* Stories Table */
.story-stories-table-wrapper {
	overflow-x: auto;
	background-image: url("../images/ino-bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	margin: 0px 30px;
}

.story-stories-table {
	width: 100%;
	border-collapse: inherit !important;
	border: none;
}

.story-stories-table th {
	/* background: #f5f7fa; */
	padding: 30px 20px;
	text-align: left;
	font-weight: 700;
	color: #757575;
	border-bottom: 1px solid #d8d8d8;
	font-size: 14px;
	letter-spacing: -0.2px;
}

.story-stories-table td {
	padding: 14px 15px;
	border-bottom: 1px solid #e8e8e8;
	color: #0E165D;
	font-size: 13px;
	letter-spacing: -0.1px;
	font-weight: 500;
}

.story-stories-table tbody tr:hover {
	background: #f8fafb;
}

/* .story-stories-table tbody tr:nth-child(even) {
	background: #fafbfc;
} */

.story-no-stories {
	text-align: center;
	padding: 40px 20px;
	color: #999;
}

.story-view-link {
	color: #ff9500;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.story-view-link:hover {
	color: #ff7c00;
	text-decoration: underline;
}

/* Mobile Card View Styles */
.story-stories-cards-wrapper {
	display: none; /* Hidden by default, shown on mobile */
	padding: 20px;
	background-image: url("../images/ino-bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	margin: 0px 15px;
}

.story-card {
	background: #f5f5f5;
	border-radius: 12px;
	margin-bottom: 16px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.story-card:last-child {
	margin-bottom: 0;
}

.story-card-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.story-card-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.story-card-row {
	display: flex;
	gap: 16px;
}

.story-card-row .story-card-field {
	flex: 1;
}

.story-card-label {
	font-size: 12px;
	color: #757575;
	font-weight: 500;
	letter-spacing: -0.1px;
	margin: 0;
}

.story-card-value {
	font-size: 14px;
	color: #0E165D;
	font-weight: 600;
	letter-spacing: -0.1px;
	margin: 0;
}

.story-card-action {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
}

.story-card-action-link {
	color: #ff9500;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: color 0.2s ease;
	display: inline-block;
}

.story-card-action-link:hover {
	color: #ff7c00;
	text-decoration: underline;
}

.story-no-stories-mobile {
	display: none; /* Hidden by default, shown on mobile when no stories */
	text-align: center;
	padding: 40px 20px;
	color: #999;
	background-image: url("../images/ino-bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	margin: 0px 15px;
}

/* Responsive: Show cards on mobile, hide table */
@media (max-width: 768px) {
	.story-stories-table-wrapper {
		display: none;
	}
	
	.story-stories-cards-wrapper {
		display: block;
		margin-bottom: 20px;
	}
	
	#noStoriesMessage {
		display: none !important;
	}
	
	#noStoriesMessageMobile {
		display: block;
	}
	
	.story-status-tabs {
		flex-wrap: wrap;
		gap: 10px;
		padding: 0px 15px;
		margin-left: 0px;
		margin-bottom: 20px;
		justify-content: center;
	}
	
	.story-status-tab {
		padding: 10px 16px;
		font-size: 14px;
	}
	
	.story-dashboard-content-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 15px;
		gap: 15px;
	}
	
	.story-dashboard-content-title {
		font-size: 22px !important;
	}
	
	.story-dashboard-content-subtitle {
		font-size: 14px;
	}

	.story-dashboard-nav-item {
		width: 50%;
		justify-content: center;
	}

	.story-dashboard-nav-item.active {
		width: 50%;
		justify-content: center;
	}

}

/* Desktop: Show table, hide cards */
@media (min-width: 769px) {
	.story-stories-table-wrapper {
		display: block;
	}
	
	.story-stories-cards-wrapper {
		display: none;
	}
	
	#noStoriesMessageMobile {
		display: none !important;
	}
}

/* Status Badge */
.story-status-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

.story-status-draft {
	background: #f0f0f0;
	color: #666;
}

.story-status-submitted {
	background: #e3f2fd;
	color: #1976d2;
}

.story-status-approved {
	background: #e8f5e9;
	color: #28a745;
}

.story-status-rejected {
	background: #ffebee;
	color: #d32f2f;
}

/* Profile Form */
.story-profile-form {
	max-width: 600px;
	padding: 30px;
}

.story-profile-actions {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #ddd;
}

.story-profile-actions h3 {
	margin-bottom: 20px;
}

.story-profile-actions ul {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 10px;
}

/* Popup Styles */
.story-popup {
	position: fixed;
	inset: 0;
	display: none;
	/* Hidden by default */
	align-items: center;
	justify-content: center;
	z-index: 99999;
}

/* When visible */
.story-popup.show {
	display: flex;
}

.story-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.story-popup-content {
  position: relative;
  width: min(1240px, calc(100% - 44px));
  max-height: calc(90vh);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  background-image: url('../images/popup-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.story-popup-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.66) 0%, rgba(4, 8, 18, 0.45) 55%, rgba(4, 8, 18, 0.65) 100%);
  pointer-events: none;
}

.story-popup-content {
  overflow: auto;
}

.story-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	background: #f4c430;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-icon svg {
	width: 30px;
	height: 30px;
	fill: white;
}

/* ---------- Close button ---------- */
.story-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 22;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  font-weight: 600;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  -webkit-appearance: none;
  -moz-appearance: none;
}

.story-popup-logos {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  padding: 0 34px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-popup-logos-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.story-popup-logo-item-1 img {
  height: 46px;
  width: auto;
  display: block;
}

.story-popup-logo-item-2 img {
  height: 46px;
  width: auto;
  display: block;
}

.story-popup-logos-right img {
  height: 64px;
  width: auto;
  display: block;
}

.story-popup-main {
  position: relative;
  z-index: 12;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 72px;
  box-sizing: border-box;
}

/* ensure content can scroll if viewport too small */
.story-popup-content {
  display: block;
}

.story-popup-content>.story-popup-main {
  /* nothing needed here; kept for clarity */
}

.story-popup-main-inner {
  max-width: 880px;
  text-align: center;
  color: #fff;
}

/* Title gradient */
.story-popup-main-inner h2 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(113.33deg, #FEC302 11.85%, #FF634E 114.92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* paragraph */
.story-popup-main-inner p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA */
.story-btn {
  display: inline-block;
  padding: 14px 42px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 30px rgba(27, 85, 190, 0.18);
}

.story-btn-primary {
  background: linear-gradient(180deg, #3f86ff 0%, #2b61d9 100%);
  color: #fff;
}

.story-btn-primary:hover {
  transform: translateY(-3px);
}

/* Success Modal */
.story-success-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

.story-modal-content {
	background: white;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	position: relative;
	animation: popupSlideIn 0.3s ease;
}

.story-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
}

.story-modal-body {
	padding: 40px 30px;
	text-align: center;
}

.story-success-icon {
	font-size: 48px;
	color: #28a745;
	margin-bottom: 20px;
}

.story-modal-body h2 {
	font-size: 24px;
	margin-bottom: 15px;
	color: #333;
}

.story-modal-body p {
	color: #666;
	margin-bottom: 25px;
}

/* Alerts */
.story-alert {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.story-alert-error {
	background: #ffebee;
	color: #d32f2f;
	border-left: 4px solid #d32f2f;
}

/* Forgot Password Link */
.story-forgot-password-link {
	color: #1E1E1E;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.story-forgot-password-link:hover {
	color: #004a94;
	text-decoration: underline;
}

/* Auth Footer */
.story-auth-footer {
	text-align: center;
	margin-top: 24px;
	padding-top: 24px;
	border-top: none;
}

.story-auth-footer p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

.story-auth-footer a {
	color: #1e1e1e;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.story-auth-footer a:hover {
	color: #007dfe;
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.story-auth-container {
		padding: 40px 16px;
	}

	.story-review-block-header h3 {
		font-size: 14px;
	}

	.story-auth-card-body {
		padding: 32px 24px;
		width: 100%;
	}

	.story-auth-title {
		font-size: 24px;
	}

	.story-auth-subtitle {
		font-size: 13px;
		margin-bottom: 28px;
	}

	.story-form-options {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.story-forgot-password-link {
		align-self: baseline;
		margin-top: 10px;
	}

	.story-form-row {
		grid-template-columns: 1fr;
	}

	.story-progress-step {
		flex: 1 1 calc(50% - 10px);
		min-width: 100px;
	}

	.story-media-upload {
		grid-template-columns: 1fr;
	}

	.story-media-upload .story-upload-section:nth-child(3) {
		max-width: 100%;
	}

	.story-dashboard-header {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}

	.story-tabs-list {
		flex-direction: column;
	}

	.story-form-navigation {
		flex-direction: column-reverse;
		margin-top: 20px;
	}

	.story-form-navigation .story-btn {
		width: 100%;
	}

		.story-form-step {
			margin-bottom: 20px;
		}

	.story-btn {
		font-size: 12px;
	}

	.story-status-overview {
		grid-template-columns: 1fr 1fr;
	}

	.story-media-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.story-form-container,
	.story-auth-container,
	.story-dashboard-container {
		padding: 15px 10px;
		margin-bottom: 30px;
		margin-top: 30px;
	}

	.story-form-wrapper,
	.story-auth-form-section {
		padding: 15px 10px;
	}

	.story-accordion-content {
		padding: 5px;
	}

	.story-form-header h1 {
		font-size: 24px;
	}

	.story-status-overview {
		grid-template-columns: 1fr;
	}

	.padding-style-1 {
		padding: 50px 10px;
	}

	.w-70-style {
		max-width: 100%;
		margin: 0;
	}

	.story-media-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	input {
		font-size: 14px !important;
	}
}

/* =========================================================
 * LANDING PAGE (Share Your Story) – matches marketing design
 * =======================================================*/


.story-section-inner {
	padding: 60px 0;
}

/* HERO */
.story-landing-hero {
	background-image: url("../images/story-landing-bg.png");
	background-size: contain;
	background-repeat: round;
	padding-top: 60px;
	padding-bottom: 60px;
}

.story-landing-inner {
	background-image: url("../images/bg-with-line.png");
	background-size: contain;
	background-repeat: round;
	padding: 70px;
}

.story-hero-inner {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 70px rgba(1, 6, 28, 0.9);
	background: rgba(2, 9, 40, 0.9);
}

.story-hero-left {
	padding-right: 150px;

}

/* .story-hero-left {
	position: relative;
	background-image: url('../images/popup-bg.jpg');
	background-size: cover;
	background-position: center;
	padding: 120px;
	border: 1px solid rgba(255, 255, 255, 0.92);
	min-height: 360px;
} */

.story-hero-left h2 {
	background: linear-gradient(111.85deg, #FEC302 12.1%, #FF634E 67.49%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	font-size: 50px !important;
	font-weight: 700 !important;
	z-index: 2;
}

.story-hero-left p {
	color: #ffffff;
	font-size: 18px;
	line-height: 1.6;
	margin-top: 12px;
	z-index: 2;
	font-weight: 500;
}

.story-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.story-hero-right {
	background: linear-gradient(148deg, #f7f7fb 0%, #e9eef8 40%, #dde6f7 100%);
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 26px;
	position: relative;
}

.story-hero-card {
	border-radius: 14px;
	width: 100%;
	max-width: 380px;
	
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.story-hero-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	gap: 20px;
	position: absolute;
	top: 10px;
	width: 100%;
	padding: 30px;
}

.story-hero-logo-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

.story-hero-logo-group img {
	height: 45px;
	width: auto;
	display: block;
}

.story-hero-logo-tbi img {
	height: 45px;
	width: auto;
	display: block;
}

.story-hero-card-body h1 {
	font-size: 30px !important;
	line-height: 1.3 !important;
	margin: 0 0 40px;
	color: #1E1E1E !important;
	font-weight: 700 !important;
	text-align: center;
}

.story-hero-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: fit-content;
	margin-top: 100px;
}

.story-hero-btn {
	width: 100%;
	text-align: center;
	font-size: 15px;
	padding: 14px 40px;
	border-radius: 8px;
}

/* Eligibility */
.story-eligibility {
	background: #ffffff;
}

.story-eligibility-header {
	margin-bottom: 24px;
}

.story-eligibility h2 {
	font-size: 40px !important;
	color: #0e165d !important;
	font-weight: 300 !important;
	margin: 0 0 4px;
}

.story-eligibility h2 span {
	font-weight: 800;
}

.story-eligibility-subtitle {
	font-size: 18px;
	color: #2563eb;
	margin: 0;
	font-weight: 500;
}

.story-eligibility-intro p {
	margin: 0;
	color: #0e165d;
	font-size: 16px;
	font-weight: 500;
}

.story-eligibility-body {
	margin-top: 40px;
}

.story-eligibility-body ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.story-eligibility-body li {
	position: relative;
	padding-left: 26px;
	font-size: 16px;
	color: #000000;
	font-weight: 500;
}

.story-eligibility-body li::before {
	content: '››';
	position: absolute;
	left: 0;
	top: -6px;
	color: #FA8005;
	font-weight: 700;
	font-size: 20px;
}

/* Why submit */
.story-why-submit {
	background: radial-gradient(circle at top, #2f7ff5 0, #0050c8 40%, #0040a3 100%);
	color: #f9fafb;
}

.story-why-submit .story-section-title {
	text-align: center;
	font-size: 35px;
	font-weight: 600;
	margin: 0 0 36px;
	color: #FFFFFF;
}

.story-why-grid {
	row-gap: 28px;
	margin-top: 60px !important;
}

.story-why-card {
	text-align: center;
	padding: 26px 50px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.36);
}

.story-why-card.no-border-right {
	border-right: none;
}

.story-why-icon {
	/* width: 60px;
	height: 60px; */
	border-radius: 999px;
	/* background: rgba(15, 118, 255, 0.16); */
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.story-why-icon img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

.story-why-card h3 {
	font-size: 24px !important;
	font-weight: 700 !important;
	margin: 0 0 8px;
	color: #FEC302 !important;
}

.story-why-card p {
	font-size: 16px;
	margin: 0;
	color: #FFFFFF;
	font-weight: 500;
}

/* Metrics */
.story-metrics {
	background: #f3f6fb;
}

.story-metrics-header {
	text-align: center;
	margin-bottom: 50px;
}

.story-metrics-header h2 {
	font-size: 35px;
	font-weight: 700;
	color: #0E165D;
	margin: 0 0 6px;
}

.story-metrics-header p {
	font-size: 14px;
	color: #0E165D;
	margin: 20px 0 0 0;
	font-weight: 500;
}

.story-metrics-grid {
	margin-bottom: 32px;
}

.story-metric-card {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
}

.story-metric-pill {
	height: 15px;
	border-radius: 0px 0px 10px 10px;
	background: #FFBC27;
	width: 150px;
	position: absolute;
	margin: 0px auto;
	inset: 0;
}

.story-metric-body {
	min-height: 72px;
}

.story-metric-number {
	font-size: 22px;
	font-weight: 700;
	color: #000000;
	margin: 30px 0 10px 0;
	text-align: center;
}

.story-metric-number span {
	color: #007DFE;
}

.story-metric-text {
	font-size: 13px;
	color: #4b5563;
	margin: 0;
}

.story-metric-text.highlight {
	color: #2563eb;
	font-weight: 600;
}

.story-metric-bar {
	height: 4px;
	border-radius: 999px;
	background: #007DFE;
	width: 72%;
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.story-metrics-cta {
	text-align: center;
}

.story-metrics-btn {
	padding: 12px 42px;
	font-size: 14px;
	border-radius: 10px;
}

@media (max-width: 480px) {

	.story-metrics-header h2 {
		font-size: 28px;
	}

	.story-metric-number {
		font-size: 20px;
	}

	.story-why-card {
		padding: 20px 20px 24px;
		border-right: none;
	}

	.story-why-grid {
		margin-top: 0px !important;
	}

	.story-why-grid {
		row-gap: 0px;
	}

	.story-why-submit .story-section-title {
		font-size: 24px;
	}

	.story-landing-hero {
		padding-bottom: 30px;
		padding-top: 30px;
	}

	.story-hero-left {
		padding: 10px;
	}

	.story-hero-left h2 {
		font-size: 32px !important;
	}

	.story-hero-left p {
		font-size: 12px;
	}

	.story-hero-actions {
		margin-top: 30px;
	}

	.story-landing-inner {
		padding: 20px;
		background-size: cover;
		background-repeat: no-repeat;
		border-radius: 20px;
	}

	.story-hero-btn {
		font-size: 12px;
	}

	.story-landing-img img {
		margin-top: 20px;
	}

	.story-hero-right {
		padding: 80px 30px 30px 30px;
	}
	
	.story-hero-card-header {
		top: 15px;
		padding: 0px 30px;
	}

	.story-hero-card-body h1 {
		font-size: 24px;
		margin: 0 0 25px;
	}
	
	.story-hero-logo-tbi img {
		height: 35px;
	}

	.story-hero-logo-group img {
		height: 35px;
	}

	.story-eligibility h2 {
		font-size: 30px !important;
	}
	
	.story-eligibility-intro p {
		font-size: 14px;	
	}

	.story-eligibility-separator {
		display: none;
	}

	.story-eligibility-body {
		margin-top: 20px;
	}
	
	.story-eligibility-body li {
		font-size: 14px;
	}

	.story-why-card h3 {
		font-size: 20px !important;
	}
}

@media (max-width: 980px) {
  .story-popup-main {
    padding: 46px 28px;
    min-height: 520px;
  }

  .story-popup-main-inner h2 {
    font-size: 34px;
  }

  .story-popup-main-inner p {
    font-size: 16px;
  }

  .story-popup-logo-item-1 img,
  .story-popup-logo-item-2 img {
    height: 42px;
  }

  .story-popup-logos-right img {
    height: 56px;
  }
}


@media (max-width: 480px) {
  .story-popup-content {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .story-popup-main {
    padding: 32px 20px;
    min-height: 500px;
  }

  .story-popup-main-inner h2 {
    font-size: 24px;
  }

  .story-popup-main-inner p {
    font-size: 14px;
    max-width: 92%;
    margin: 10px auto 22px;
  }

  .story-popup-logo-item-1 img,
  .story-popup-logo-item-2 img {
    height: 38px;
  }

  .story-popup-logos-right img {
    height: 48px;
  }

  .story-popup-close {
    top: 8px;
    right: 10px;
  }
}