:root {
	--account-card-radius: 18px;
}

.auth-only-page .inner-section-bg {
	background-color: var(--color-neutral-soft, #f5f5f5);
}

.account-card {
	background: #ffffff;
	border-radius: var(--account-card-radius);
	padding: 26px;
	border: 1px solid #edf0f4;
	box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
	animation: account-rise 0.6s ease both;
}

.account-card-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.account-card-title .title-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
	color: #ffffff;
	font-size: 18px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.account-card-title h4 {
	margin: 0;
	font-weight: 700;
	color: #0f172a;
}

.account-card-subtitle {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

.dashbord-sidebar {
	position: sticky;
	top: 24px;
	background: #ffffff;
	border-radius: var(--account-card-radius);
	border: 1px solid #edf0f4;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
	overflow: hidden;
}

.dashbord-sidebar .profile-info {
	padding: 24px;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
	color: #ffffff;
}

.dashbord-sidebar .profile-info h5 {
	margin: 10px 0 4px;
	font-weight: 700;
}

.dashbord-sidebar .profile-info p {
	margin: 0;
	opacity: 0.9;
	font-size: 13px;
}

.dashbord-sidebar .avatar {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
}

.dashbord-sidebar .sidebar-nav {
	padding: 14px;
}

.dashbord-sidebar .sidebar-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.dashbord-sidebar .sidebar-nav li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f6f7fb;
	color: #1f2937;
	font-weight: 600;
	border: 1px solid transparent;
	transition: all 0.3s ease;
	flex-direction: row-reverse;
}

.dashbord-sidebar .sidebar-nav li a i {
	font-size: 16px;
}

.dashbord-sidebar .sidebar-nav li a:hover {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
	transform: translateX(4px);
}

.dashbord-sidebar .sidebar-nav li a.active {
	background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.account-form .form-control,
.account-form textarea.form-control,
.account-form .form-select {
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: 12px 14px;
	box-shadow: none;
}

.account-form .form-control:focus,
.account-form textarea.form-control:focus,
.account-form .form-select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.account-action {
	border-radius: 999px;
	padding: 10px 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.account-note {
	background: #f8fafc;
	border: 1px dashed #d7dde8;
	border-radius: 14px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #374151;
	margin-bottom: 16px;
}

.dashboard-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.dashboard-actions .quick-tile {
	padding: 16px;
	border-radius: 16px;
	background: linear-gradient(130deg, #ffffff 0%, #f5f7fb 100%);
	border: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #111827;
	font-weight: 600;
	transition: all 0.3s ease;
}

.dashboard-actions .quick-tile i {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.08);
	color: #111827;
	font-size: 18px;
}

.dashboard-actions .quick-tile span {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
}

.dashboard-actions .quick-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 24px rgba(15, 23, 42, 0.12);
}

.orders-table-wrapper {
	margin: 0;
}

.orders-table {
	border-collapse: separate;
	border-spacing: 0 12px;
	width: 100%;
	margin: 0;
	background: transparent;
}

.orders-table thead {
	background: transparent;
}

.orders-table thead th {
	background-color: #f8f9fa;
	border: none;
	padding: 15px 12px;
	font-weight: 600;
	font-size: 13px;
	color: #495057;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e9ecef;
	position: sticky;
	top: 0;
	z-index: 10;
}

.orders-table tbody tr {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	margin-bottom: 12px;
}

.orders-table tbody tr:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.orders-table tbody td {
	padding: 18px 12px;
	border: none;
	vertical-align: middle;
	border-top: 1px solid #f0f0f0;
}

.orders-table tbody tr:first-child td {
	border-top: none;
}

.orders-table .order-number {
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 600;
}

.orders-table .order-number a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

.orders-table .order-number a:hover {
	color: var(--color-secondary);
	text-decoration: underline;
}

.orders-table .order-date {
	color: #6c757d;
	font-size: 13px;
}

.orders-table .order-amount {
	color: var(--color-primary);
	font-size: 15px;
	font-weight: 700;
}

.orders-table .quantity-badge {
	display: inline-block;
	background-color: #f8f9fa;
	color: #495057;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 13px;
	min-width: 35px;
	text-align: center;
}

.orders-table .payment-method-text {
	color: #495057;
	font-size: 13px;
}

.orders-table .action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #f8f9fa;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 16px;
	margin: 0 4px;
}

.orders-table .action-btn.invoice-btn {
	color: var(--color-primary);
}

.orders-table .action-btn.invoice-btn:hover {
	background-color: var(--color-primary);
	color: #ffffff;
	transform: scale(1.1);
}

.orders-table .action-btn.receipt-btn {
	color: #007bff;
}

.orders-table .action-btn.receipt-btn:hover {
	background-color: #007bff;
	color: #ffffff;
	transform: scale(1.1);
}

.orders-table .action-btn.delivery-btn {
	color: #17a2b8;
}

.orders-table .action-btn.delivery-btn:hover {
	background-color: #17a2b8;
	color: #ffffff;
	transform: scale(1.1);
}

.orders-table .action-btn.view-btn {
	color: #26c56d;
}

.orders-table .action-btn.view-btn:hover {
	background-color: #26c56d;
	color: #ffffff;
	transform: scale(1.1);
}

.orders-table .action-btn.return-btn {
	color: #fe9e42;
}

.orders-table .action-btn.return-btn:hover {
	background-color: #fe9e42;
	color: #ffffff;
	transform: scale(1.1);
}

.orders-table .empty-state {
	padding: 60px 20px !important;
}

.orders-table .empty-content {
	text-align: center;
}

.orders-table .empty-content i {
	font-size: 64px;
	color: #dee2e6;
	margin-bottom: 20px;
	display: block;
}

.orders-table .empty-content p {
	color: #6c757d;
	font-size: 16px;
	margin: 0;
}

.returns-table-wrapper {
	margin: 0;
}

.returns-table {
	border-collapse: separate;
	border-spacing: 0 12px;
	width: 100%;
	margin: 0;
	background: transparent;
}

.returns-table thead {
	background: transparent;
}

.returns-table thead th {
	background-color: #f8f9fa;
	border: none;
	padding: 15px 12px;
	font-weight: 600;
	font-size: 13px;
	color: #495057;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e9ecef;
	position: sticky;
	top: 0;
	z-index: 10;
}

.returns-table tbody tr {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	margin-bottom: 12px;
}

.returns-table tbody tr:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.returns-table tbody td {
	padding: 18px 12px;
	border: none;
	vertical-align: middle;
	border-top: 1px solid #f0f0f0;
}

.returns-table tbody tr:first-child td {
	border-top: none;
}

.returns-table .return-number {
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 600;
}

.returns-table .order-link {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.returns-table .order-link:hover {
	color: var(--color-secondary);
	text-decoration: underline;
}

.returns-table .product-info {
	display: flex;
	align-items: center;
	gap: 15px;
}

.returns-table .product-image {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid #f0f0f0;
	background: #f8f9fa;
}

.returns-table .product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.returns-table tbody tr:hover .product-image img {
	transform: scale(1.05);
}

.returns-table .product-details {
	flex: 1;
	min-width: 0;
}

.returns-table .product-title {
	font-weight: 500;
	font-size: 14px;
	color: #212529;
	margin-bottom: 6px;
	line-height: 1.4;
}

.returns-table .product-seller {
	font-size: 12px;
	color: #6c757d;
}

.returns-table .quantity-badge {
	display: inline-block;
	background-color: #f8f9fa;
	color: #495057;
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 13px;
	min-width: 35px;
	text-align: center;
}

.returns-table .reason-text {
	color: #495057;
	font-size: 13px;
	line-height: 1.5;
}

.returns-table .return-date {
	color: #6c757d;
	font-size: 13px;
	font-weight: 500;
}

.returns-table .action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #f8f9fa;
	color: #26c56d;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 16px;
}

.returns-table .action-btn:hover {
	background-color: #26c56d;
	color: #ffffff;
	transform: scale(1.1);
}

.returns-table .action-btn.view-btn:hover {
	background-color: #26c56d;
	color: #ffffff;
}

.returns-table .empty-state {
	padding: 60px 20px !important;
}

.returns-table .empty-content {
	text-align: center;
}

.returns-table .empty-content i {
	font-size: 64px;
	color: #dee2e6;
	margin-bottom: 20px;
	display: block;
}

.returns-table .empty-content p {
	color: #6c757d;
	font-size: 16px;
	margin: 0;
}

.order-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.order-detail-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px 18px;
}

.order-detail-card h5 {
	font-weight: 700;
	margin-bottom: 10px;
	color: #111827;
}

.order-detail-card .status_btn {
	margin-left: 6px;
}

.order-items-table thead th {
	background-color: #f8f9fa;
	border: none;
	padding: 14px 12px;
	font-weight: 600;
	font-size: 13px;
	color: #495057;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	border-bottom: 2px solid #e9ecef;
}

.order-items-table tbody tr {
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.order-items-table tbody td {
	border-top: none;
	vertical-align: middle;
	padding: 16px 12px;
}

.order-actions-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px;
}

.order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.return-info-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px 18px;
	margin-bottom: 18px;
}

.return-info-card h5 {
	font-weight: 700;
	color: #111827;
	margin-bottom: 10px;
}

.return-info-card .status_btn {
	margin-left: 6px;
}

.return-items-table thead th {
	background-color: #f8f9fa;
	border: none;
	padding: 14px 12px;
	font-weight: 600;
	font-size: 13px;
	color: #495057;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	border-bottom: 2px solid #e9ecef;
}

.return-items-table tbody tr {
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.return-items-table tbody td {
	border-top: none;
	vertical-align: middle;
	padding: 16px 12px;
}

.return-action-btn {
	border-radius: 999px;
	padding: 6px 16px;
	font-weight: 600;
}

.return-modal {
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
	border: 1px solid #eef2f7;
	border-radius: 18px;
}

.return-modal .modal-header {
	padding: 16px 20px;
	border-color: #eef2f7;
}

.return-modal .modal-footer {
	border-color: #eef2f7;
}

.return-modal .modal-title {
	font-weight: 700;
	color: #111827;
}

.return-modal-body {
	padding: 0 20px 6px;
}

.return-modal-body .form-group {
	margin-bottom: 14px;
}

.return-modal-body .form-control {
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: 10px 12px;
}

.return-modal-body .form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.return-modal-body .modal-note {
	background: #f8fafc;
	border: 1px dashed #d7dde8;
	border-radius: 12px;
	padding: 10px 12px;
	color: #4b5563;
	font-size: 13px;
	margin-bottom: 14px;
}

.return-cancel-btn {
	border-radius: 999px;
	padding: 8px 18px;
	font-weight: 600;
}

.return-submit-btn {
	border-radius: 999px;
	padding: 8px 18px;
	font-weight: 700;
}

.return-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 10px;
}

.return-detail-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px 18px;
}

.return-detail-card h5 {
	font-weight: 700;
	color: #111827;
	margin-bottom: 12px;
}

.return-detail-card .status_btn {
	margin-left: 6px;
}

.return-product {
	display: flex;
	gap: 14px;
	align-items: center;
}

.return-product img {
	width: 90px;
	height: 90px;
	border-radius: 14px;
	object-fit: cover;
	border: 1px solid #e5e7eb;
}

@keyframes account-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes account-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(12px);
	}
}

@media (max-width: 991px) {
	.dashbord-sidebar {
		position: static;
		margin-bottom: 24px;
	}
}

@media (max-width: 768px) {
	.orders-table thead,
	.returns-table thead {
		display: none;
	}

	.orders-table tbody tr,
	.returns-table tbody tr {
		display: block;
		margin-bottom: 20px;
		padding: 15px;
	}

	.orders-table tbody td,
	.returns-table tbody td {
		display: block;
		text-align: right;
		padding: 10px 0;
		border-top: 1px solid #f0f0f0;
	}

	.orders-table tbody td:before,
	.returns-table tbody td:before {
		content: attr(data-label);
		float: left;
		font-weight: 600;
		color: #495057;
	}

	.orders-table .action-btn,
	.returns-table .action-btn {
		margin: 0 auto;
	}

	.returns-table .product-info {
		flex-direction: column;
		align-items: flex-start;
	}

	.order-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 576px) {
	.account-card {
		padding: 20px;
	}

	.account-hero .breadcrumb {
		border-radius: 14px;
		padding: 8px 12px;
	}
}
