/**
 * Order Cancellation page – order-cancellation.html design
 *
 * @package skinfinity
 */

body.order-cancellation-page {
	background-color: #fdf4f7;
}

.order-cancellation-page .page-banner {
	height: 320px;
	background-size: cover;
	background-position: center center;
	display: table;
	width: 100%;
	position: relative;
}

.order-cancellation-page .page-banner .container {
	display: table;
	height: 100%;
}

.order-cancellation-page .page-banner-entry {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	position: relative;
	z-index: 2;
	color: #1f1f1f;
}

.order-cancellation-page .page-banner-entry h1 {
	font-size: 60px;
	line-height: 1.3;
	margin-bottom: 10px;
	font-weight: 500;
	color: #1f1f1f;
}

@media (max-width: 991.98px) {
	.order-cancellation-page .page-banner-entry h1 {
		font-size: 42px;
	}
}

@media (max-width: 767.98px) {
	.order-cancellation-page .page-banner {
		height: 300px;
	}
	.order-cancellation-page .page-banner-entry h1 {
		font-size: 32px;
	}
}

@media (max-width: 576px) {
	.order-cancellation-page .page-banner {
		height: 200px;
	}
	.order-cancellation-page .page-banner-entry h1 {
		font-size: 28px;
		margin-bottom: 5px;
	}
}

.order-cancellation-page .breadcrumb-row {
	margin-top: 8px;
}

.order-cancellation-page .breadcrumb-row .list-inline {
	margin: 0;
	display: inline-block;
	background: #fff;
	padding: 5px 15px;
	border-radius: 30px;
	border: 1px solid #fff;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.02);
	list-style: none;
}

.order-cancellation-page .breadcrumb-row .list-inline li {
	padding: 0;
	margin-right: 3px;
	display: inline-block;
	font-size: 16px;
	font-weight: 400;
}

.order-cancellation-page .breadcrumb-row .list-inline li i {
	font-size: 13px;
	margin-right: 5px;
	color: #b6554f;
}

.order-cancellation-page .breadcrumb-row .list-inline li a {
	text-decoration: none;
	color: #b6554f;
	font-weight: 600;
}

.order-cancellation-page .breadcrumb-row .list-inline li:last-child {
	color: #5a564d;
}

.order-cancellation-page .breadcrumb-row .list-inline li:after {
	content: "\f105";
	margin-left: 7px;
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", "fontawesome";
	font-weight: 900;
	opacity: 0.5;
	color: #999;
}

.order-cancellation-page .breadcrumb-row .list-inline li:last-child:after {
	display: none;
}

.order-cancellation-container {
	padding: 60px 0 100px;
}

.order-cancellation-container .container {
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.06);
	padding: 60px 90px 90px;
	max-width: 1000px;
	margin: 0 auto;
}

@media (max-width: 991.98px) {
	.order-cancellation-container .container {
		padding: 40px 24px 50px;
		border-radius: 24px;
	}
}

.order-cancellation-form {
	max-width: 600px;
	margin: 0 auto;
}

.order-cancellation-form.step-3-active {
	max-width: 100%;
}

.order-cancellation-form .form-group {
	margin-bottom: 25px;
}

.order-cancellation-form label {
	display: block;
	margin-bottom: 10px;
	font-weight: 500;
	color: #1f1f1f;
	font-size: 16px;
}

.order-cancellation-form .form-control {
	width: 100%;
	padding: 15px 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s;
	font-family: 'DM Sans', sans-serif;
}

.order-cancellation-form .form-control:focus {
	outline: none;
	border-color: #b6554f;
	box-shadow: 0 0 0 3px rgba(182, 85, 79, 0.1);
}

.order-cancellation-form select.form-control {
	cursor: pointer;
}

.order-cancellation-form textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

.order-cancellation-form .mobile-input-wrap {
	display: flex;
	align-items: stretch;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s;
}

.order-cancellation-form .mobile-input-wrap:focus-within {
	border-color: #b6554f;
	box-shadow: 0 0 0 3px rgba(182, 85, 79, 0.1);
}

.order-cancellation-form .mobile-country-code {
	display: flex;
	align-items: center;
	padding: 15px 16px;
	background: #f5f5f5;
	color: #5a564d;
	font-size: 16px;
	font-weight: 600;
	border-right: 1px solid #ddd;
}

.order-cancellation-form .mobile-input-wrap .form-control {
	border: none;
	border-radius: 0;
	flex: 1;
}

.order-cancellation-form .required-asterisk {
	color: #b6554f;
}

.order-cancellation-form .order-cancellation-step-title {
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	color: #1f1f1f;
}

.order-cancellation-form .btn-submit,
.order-cancellation-form .btn-cancel,
.order-cancellation-form .btn-dont-cancel {
	width: 100%;
	padding: 15px;
	background: #f17298;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	transition: all 0.3s;
	cursor: pointer;
	margin-top: 10px;
}

.order-cancellation-form .btn-submit:hover,
.order-cancellation-form .btn-cancel:hover {
	background: #b6554f;
	color: #fff;
}

.order-cancellation-form .btn-dont-cancel {
	background: #6c757d;
}

.order-cancellation-form .btn-dont-cancel:hover {
	background: #5a6268;
	color: #fff;
}

.order-cancellation-form .btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.order-cancellation-form .btn-group {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.order-cancellation-form .btn-group .btn-cancel,
.order-cancellation-form .btn-group .btn-dont-cancel {
	flex: 1;
	margin-top: 0;
}

.order-cancellation-form .otp-label {
	text-align: center;
	display: block;
}

.order-cancellation-form .otp-input-group {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 20px;
}

/* OTP inputs: match order-history step 2 – rectangular boxes, thin borders, slightly rounded */
.order-cancellation-form .otp-input-group input {
	width: 50px;
	height: 60px;
	min-width: 50px;
	padding: 0;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	border: 1px solid #ddd;
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	background: #fff;
}

.order-cancellation-form .otp-input-group input:focus {
	border-color: #b6554f;
	outline: none;
	box-shadow: 0 0 0 2px rgba(182, 85, 79, 0.15);
}

.order-cancellation-form .otp-resend {
	text-align: center;
	margin-top: 20px;
}

.order-cancellation-form .otp-resend a {
	color: #b6554f;
	text-decoration: none;
	font-weight: 500;
}

.order-cancellation-form .otp-resend a:hover {
	text-decoration: underline;
}

/* Step indicator */
.order-cancellation-container .step-indicator {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	gap: 20px;
	flex-wrap: wrap;
}

.order-cancellation-container .step-indicator .step {
	display: flex;
	align-items: center;
	gap: 10px;
}

.order-cancellation-container .step-indicator .step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ddd;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
}

.order-cancellation-container .step-indicator .step.active .step-number {
	background: #f17298;
	color: #fff;
}

.order-cancellation-container .step-indicator .step.completed .step-number {
	background: #0b9f92;
	color: #fff;
}

.order-cancellation-container .step-indicator .step-label {
	font-size: 14px;
	color: #999;
	font-weight: 500;
}

.order-cancellation-container .step-indicator .step.active .step-label {
	color: #b6554f;
}

.order-cancellation-container .step-indicator .step.completed .step-label {
	color: #0b9f92;
}

@media (max-width: 767.98px) {
	.order-cancellation-container .step-indicator {
		flex-direction: column;
		gap: 15px;
	}
	.order-cancellation-container .step-indicator .step-label {
		display: none;
	}
}

/* Hidden / active steps */
.order-cancellation-form .cancel-step {
	display: none;
}

.order-cancellation-form .cancel-step.active {
	display: block;
}

/* Success message (OTP sent) */
.order-cancellation-form .success-message {
	background: #f0fdf4;
	border: 2px solid #22c55e;
	border-radius: 10px;
	padding: 15px 20px;
	margin-bottom: 20px;
	color: #166534;
	font-size: 14px;
}

.order-cancellation-form .success-message i {
	margin-right: 8px;
	color: #22c55e;
}

/* Order list (Step 3a) */
.order-cancellation-order-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.order-cancellation-order-list-item {
	margin-bottom: 12px;
}

.order-cancellation-order-link {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	text-decoration: none;
	color: #1f1f1f;
	border: 1px solid #eee;
	transition: all 0.2s;
	flex-wrap: wrap;
}

.order-cancellation-order-link:hover {
	background: #f0f0f0;
	border-color: #b6554f;
	color: #b6554f;
}

.order-cancellation-order-num {
	font-weight: 600;
	min-width: 100px;
}

.order-cancellation-order-date,
.order-cancellation-order-status {
	color: #5a564d;
	font-size: 15px;
}

.order-cancellation-order-total {
	margin-left: auto;
	font-weight: 600;
	color: #b6554f;
}

.order-cancellation-no-orders,
.order-cancellation-cannot-cancel {
	text-align: center;
	padding: 30px 20px;
	color: #5a564d;
	font-size: 16px;
}

/* Order details section (Step 3b) */
.order-cancellation-form .order-details-section {
	background: #f8f9fa;
	border-radius: 20px;
	padding: 40px;
	margin-top: 30px;
}

.order-cancellation-form .order-details-section h3 {
	font-size: 24px;
	font-weight: 600;
	color: #1f1f1f;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #ddd;
}

.order-cancellation-form .order-details-item {
	margin-bottom: 20px;
}

.order-cancellation-form .order-details-item .label {
	font-weight: 600;
	color: #5a564d;
	margin-bottom: 5px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.order-cancellation-form .order-details-item .value {
	font-size: 16px;
	color: #1f1f1f;
	font-weight: 500;
}

.order-cancellation-form .order-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

@media (max-width: 767.98px) {
	.order-cancellation-form .order-details-grid {
		grid-template-columns: 1fr;
	}
}

.order-cancellation-form .order-items-list {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	margin-top: 20px;
}

.order-cancellation-form .order-item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.order-cancellation-form .order-item:last-child {
	border-bottom: none;
}

.order-cancellation-form .order-item-image {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f0f0f0;
}

.order-cancellation-form .order-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.order-cancellation-form .order-item-details {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.order-cancellation-form .order-item-name {
	font-weight: 500;
	color: #1f1f1f;
	font-size: 16px;
}

.order-cancellation-form .order-item-price {
	font-weight: 600;
	color: #b6554f;
	font-size: 18px;
}

/* Reason to cancel */
.order-cancellation-form .reason-cancel-section {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #eee;
}

.order-cancellation-form .reason-cancel-section label {
	margin-bottom: 15px;
}

.order-cancellation-form .other-reason-textarea {
	margin-top: 15px;
	display: none;
}

.order-cancellation-form .other-reason-textarea.active {
	display: block;
}

/* Final message (Step 4) */
.order-cancellation-form .final-message {
	text-align: center;
	padding: 40px 20px;
}

.order-cancellation-form .final-message-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	font-size: 48px;
}

.order-cancellation-form .final-message-icon.success {
	background: #22c55e;
	color: #fff;
}

.order-cancellation-form .final-message-icon.info {
	background: #6c757d;
	color: #fff;
}

.order-cancellation-form .final-message h3 {
	font-size: 28px;
	font-weight: 600;
	color: #1f1f1f;
	margin-bottom: 20px;
}

.order-cancellation-form .final-message p {
	font-size: 18px;
	color: #5a564d;
	line-height: 1.6;
	margin-bottom: 15px;
}

.order-cancellation-form .final-message .notification-info {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 20px;
	margin-top: 25px;
	text-align: left;
}

.order-cancellation-form .final-message .notification-info p {
	margin-bottom: 10px;
	font-size: 16px;
}

.order-cancellation-form .final-message .notification-info i {
	color: #0b9f92;
	margin-right: 8px;
}

.order-cancellation-form .final-message .refund-note {
	margin-top: 25px;
	font-size: 16px;
	color: #5a564d;
}
