.shopOrderTableCard .card-body {
	padding: 1.5% 3% !important;
}

/* Custom Dropdown */
.custom-dropdown {
	position: relative;
	display: inline-block;
}

.custom-dropdown-btn {
	display: flex;
	align-items: center;
	gap: 2px;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 7px 14px;
	font-weight: 400;
	color: #4B5563;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	transition: border-color .2s, box-shadow .2s;
}

.custom-dropdown.open .dd-arrow {
	transform: rotate(180deg);
}

.dd-arrow {
	transition: transform .2s;
	font-size: 11px;
	color: #6b7280;
}

.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 140px;
    width: max-content;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
    overflow: hidden;
}

.custom-dropdown.open .custom-dropdown-menu {
    display: block;
    transform-origin: bottom;
    animation: dropdownOpen 0.35s cubic-bezier(0.6, 0.8, 0.25, 1);
}

@keyframes dropdownOpen {
    from {
        opacity: 0;
        transform: translateY(30px) scaleY(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.buyerOrderRow {
    animation: orderRowIn 0.4s ease-out both;
    animation-delay: calc(var(--item-index) * 0.05s);
}
.shopOrderTableRespon{
	overflow-x: auto !important;
}
.viewOrderDetailBtn{
	background: white;
    color: #69b70e;
    border: 1px solid #69b70e;
}
.viewOrderDetailBtn:hover{
	background: white;
    color: #69b70e;
    border: 1px solid #69b70e;
}
@keyframes orderRowIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dropdown-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 16px;
	font-size: 15px;
	color: #374151;
	cursor: pointer;
	transition: background .15s;
	opacity: 0;
    animation: itemSlideIn 0.25s ease-out forwards;
    animation-delay: calc(var(--item-index) * 0.06s);
}
/* .custom-dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.custom-dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}

.custom-dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}

.custom-dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
} */

@keyframes itemSlideIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.custom-dropdown-item:hover {
	background: #f3f4f6;
}

.custom-dropdown-item.selected {
	color: black;
	font-weight: 500;
	background: #F8FAFC;
}

.dd-icon {
	width: 16px;
	height: 16px;
	margin-right: 6px;
	flex-shrink: 0;
}

.btn:focus {
	box-shadow: none;
}

/* Search */
.spec-search-wrapper.search-input-wrapper {
	display: inline-block;
	position: relative;
}

.spec-search-wrapper .search-input {
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 8px 14px 8px 35px;
	height: 40px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	outline: none;
}

.spec-search-wrapper .search-input:focus {
	outline: none;
	box-shadow: none;
}

.spec-search-icon-shell {
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	pointer-events: none;
}

@media (max-width: 767px) {
	.spec-search-wrapper .search-input {
		min-width: 100%;
		width: 100%;
	}
}

/* Pagination */
.spec-entry-count-text {
	color: rgba(74,85,101,1);
	font-size: .95em;
}

.order-pagination {
	gap: 8px;
	flex-wrap: wrap;
}

.order-pagination .page-item {
	margin: 0;
}

.order-pagination .page-link {
	min-width: 38px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid #d9dee7;
	border-radius: 10px;
	background: #ffffff;
	color: #667085;
	font-size: 14px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: none !important;
	transition: all 0.2s ease;
}

.order-pagination .page-link:hover {
	background: #f9fafb;
	border-color: #cfd6df;
	color: #344054;
}

.order-pagination .page-item.active .page-link {
	background: #4CAF1A;
	border-color: #4CAF1A;
	color: #ffffff;
}

.order-pagination .page-item.active .page-link.page-number {
	color: white !important;
}

.order-pagination .page-item .page-link.page-number {
	border: 1px solid #d9dee7 !important;
}

.order-pagination .page-item.disabled .page-link,
.order-pagination .disabled-link {
	background: #f8fafc;
	border-color: #e5e7eb;
	color: #c0c4cc;
	pointer-events: none;
	cursor: not-allowed;
}

.order-pagination .nav-btn {
	min-width: 88px;
	padding: 0 16px;
}

.order-pagination .page-number {
	min-width: 38px;
	padding: 0 12px;
}

.nav-arrow {
	font-size: 16px;
	line-height: 1;
}

.order-date-cell {
	display: flex;
	flex-direction: column;
	line-height: 1.5;
}

.order-date-val {
	font-weight: 500;
	color: #374151;
	white-space: nowrap;
}

.order-time-val {
	font-size: 0.85em;
	color: #6b7280;
	white-space: nowrap;
}

.order-status-badge {
	    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.status-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	flex-shrink: 0;
}


/* =====================================================
   Responsive - Mobile / Tablet / Laptop / Desktop
   ===================================================== */

/* Small laptop / large tablet */
@media (max-width: 1199.98px) {
	.shopOrderTableCard .card-body {
		padding: 2% 3.5% !important;
	}
}

/* Tablet */
@media (max-width: 991.98px) {
	.shopPubHeader .px-4 {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	.shopOrderTable {
		font-size: 0.9rem;
	}
}

/* Mobile */
@media (max-width: 767.98px) {
	.container-fluid.px-md-5 {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	/* Header */
	.shopPubHeader .px-4 {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	.shopPubHeader .d-flex.py-2 {
		gap: 10px;
	}
	.shopPubHeader svg {
		width: 42px !important;
		height: 42px !important;
	}
	.shopPubHeader .shopHomeHeading {
		font-size: 1.15rem !important;
	}
	.shopPubHeader .shopHomeDescription {
		font-size: 0.85rem !important;
		gap: 10px;
	}
	.shopPubHeader .approve-all-btn {
		width: 100% !important;
	}

	.shopOrderTableCard .card-body {
		padding: 3% 4% !important;
	}

	/* Toolbar */
	.shopOrderTableCard .card-body > .d-md-flex {
		row-gap: 12px;
	}
	.shopOrderTableCard .card-body > .d-md-flex > .d-md-flex {
		width: 100%;
	}

	/* Dropdowns full width */
	.custom-dropdown {
		display: block;
		width: 100%;
	}
	.custom-dropdown-btn {
		width: 100%;
		justify-content: space-between;
	}
	.custom-dropdown-menu {
		width: 100%;
		min-width: 0;
		left: 0;
		right: 0;
	}

	/* Search full width */
	.spec-search-wrapper.search-input-wrapper {
		display: block;
		width: 100%;
	}
	.spec-search-wrapper .search-input {
		min-width: 100%;
		width: 100%;
	}

	/* Table -> Cards */
	.shopOrderTableRespon {
		overflow: visible !important;
	}
	.shopOrderTable {
		display: block;
		width: 100%;
	}
	.shopOrderTable thead {
		display: none;
	}
	.shopOrderTable tbody {
		display: block;
	}
	.shopOrderTable tbody tr {
		display: block;
		background: #fff;
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		padding: 10px 14px;
		margin-bottom: 12px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	}
	.shopOrderTable tbody tr:hover {
		background: #fff;
	}
	.shopOrderTable tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		padding: 8px 0;
		border: none;
		text-align: right;
	}
	.shopOrderTable tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #374151;
		text-align: left;
	}
	.shopOrderTable tbody td[colspan] {
		display: block;
		text-align: center;
		padding: 16px 0;
	}
	.shopOrderTable tbody td[colspan]::before {
		content: none;
	}
	.shopOrderTable tbody td[data-label="Action"] {
		padding-top: 12px;
		border-top: 1px dashed #e5e7eb;
	}
	.shopOrderTable tbody td[data-label="Action"]::before {
		content: none;
	}
	.shopOrderTable tbody td[data-label="Action"] .viewOrderDetailBtn {
		width: 100%;
	}

	/* Pagination */
	.spec-entry-count-text {
		width: 100%;
		text-align: center;
	}
	.shopOrderPagiWrap {
		width: 100%;
		justify-content: center !important;
	}
	.order-pagination {
		justify-content: center;
	}
	.order-pagination .page-link {
		min-width: 34px;
		height: 34px;
		padding: 0 11px;
		font-size: 13px;
	}
	.order-pagination .nav-btn {
		min-width: 78px;
		padding: 0 12px;
	}
}

/* Very small phones */
@media (max-width: 400px) {
	.shopPubHeader svg {
		width: 36px !important;
		height: 36px !important;
	}
	.shopPubHeader .shopHomeHeading {
		font-size: 1.05rem !important;
	}
	.order-status-badge {
		font-size: 12px;
		padding: 3px 10px;
	}
	.order-pagination .page-number {
		min-width: 32px;
		padding: 0 8px;
	}
	.order-pagination .nav-btn {
		min-width: 66px;
		padding: 0 10px;
	}
	.order-pagination .nav-arrow {
		display: none;
	}
}