/*
* Main Style
*
* @package yas-woo-tickets-event
* @version 1.0.0
* @since 1.0.0
*/


/* ********* Main styles ********* */

/* NOTIFICATIONS */
.wte-notifications-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.wte-notifications-container.topRight {
    top: 5%;
    right: 24px;
    width: 384px;
}

.wte-notifications-container.topLeft {
    top: 5%;
    left: 24px;
    width: 384px;
}

.wte-notifications-container.topCenter {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 384px;
}

.wte-notifications-container.bottomRight {
    bottom: 24px;
    right: 24px;
    width: 384px;
}

.wte-notifications-container.bottomLeft {
    bottom: 24px;
    left: 24px;
    width: 384px;
}

.wte-notifications-container.bottomCenter {
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 384px;
}

.wte-notification {
    position: relative;
    padding: 16px 24px !important;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
    display: flex;
    align-items: flex-start;
    line-height: 1.5715;
    pointer-events: all;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}

.wte-notification.show {
    opacity: 1;
    transform: translateX(0);
    display: flex !important
}

.wte-notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.wte-notifications-container.topLeft .wte-notification,
.wte-notifications-container.bottomLeft .wte-notification {
    transform: translateX(-100%);
}

.wte-notifications-container.topLeft .wte-notification.show,
.wte-notifications-container.bottomLeft .wte-notification.show {
    transform: translateX(0);
}

.wte-notifications-container.topLeft .wte-notification.hide,
.wte-notifications-container.bottomLeft .wte-notification.hide {
    transform: translateX(-100%);
}

.wte-notifications-container.topCenter .wte-notification,
.wte-notifications-container.bottomCenter .wte-notification {
    transform: translateY(-100%);
}

.wte-notifications-container.topCenter .wte-notification.show,
.wte-notifications-container.bottomCenter .wte-notification.show {
    transform: translateY(0);
}

.wte-notifications-container.topCenter .wte-notification.hide,
.wte-notifications-container.bottomCenter .wte-notification.hide {
    transform: translateY(-100%);
}

.wte-notification-icon {
    font-size: 24px;
    line-height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.wte-notification-content {
    flex: 1;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
}

.wte-notification-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    transition: color 0.3s;
}

.wte-notification-close:hover {
    color: rgba(0, 0, 0, 0.85);
}

.wte-notification.success .wte-notification-icon {
    color: #52c41a;
}

.wte-notification.error .wte-notification-icon {
    color: #ff4d4f;
}

.wte-notification.warning .wte-notification-icon {
    color: #faad14;
}

.wte-notification.info .wte-notification-icon {
    color: #1890ff;
}

.wte-notice {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    padding: 5px 12px;
}

.wte-notice.notice-warning {
    border-left-color: #dba617;
    background-color: #fff8e5;
}

.wte-notice.notice-success {
    border-left-color: #008000;
    background-color: #e6fff2;
}

.wte-notice.notice-error {
    border-left-color: #842029;
    background-color: #fef1f2;
}

.wte-notice.notice-info {
    border-left-color: #0073aa;
    background-color: #f2f4f5;
}

.wte-pagination {
    margin-top: 10px;
    margin-bottom: 10px;
    float: right;
}

.wte-pagination .page-number.current {
	background-color: #f6f7f7;
	color: #2271b1 !important;
	border-color: #0a4b78;
}

.wte-pagination .page-number {
	color: #18181d;
	border: 0;
	background-color: #f0f2f3;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	margin-left: 5px;
	border: 1px #d5d5d5 solid;
    min-width: 7px;
}

.wte-pagination .page-number:hover {
	background-color: #eee;
	color: #2c2d33 !important;
	border-color: #0a4b78;
	border-width: 1px;
    border-style: solid;
}

.wte-pagination a.paged-query {
	cursor: pointer;
	text-decoration: none !important;
}

.wte-table td {
    vertical-align: inherit;
}

.wte-table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 15px;
}

.wte-table-container table th,
.wte-table-container table td {
    min-width: 120px;
}

.wte-table-total-count .wte-order-status {
	padding: 2px 5px;
	background-color: #e5e5e5;
	margin: 0px 2px;
	display: inline-block;
	border: 1px solid #555;
}

.wte-table-total-count .wte-order-status.wc-completed {
	background-color: #c8d7e1;
  	color: #2e4453;
	border: 1px solid #2e4453;
}	

/* .wte-table-total-count .wte-order-status.wc-pending {
	background-color: #fff8e5;
	color: #dba617;
	border: 1px solid #dba617;
}	 */

.wte-table-total-count .wte-order-status.wc-on_hold {
	background-color: #f8dda7;
  	color: #94660c;
	border: 1px solid #94660c;
}	

.wte-table-total-count .wte-order-status.wc-processing {
	background-color: #c6e1c6;
	color: #2c4700;
	border: 1px solid #2c4700;
}	

.order-status.wc-processing {
	background: #c6e1c6;
    color: #2c4700;
}

.wte-autocomplete-items {
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    z-index: 1000;
    min-width: 100%;
}

.wte-autocomplete-item {
    padding: 8px;
    cursor: pointer;
}

.wte-autocomplete-item:hover {
    background-color: #f0f0f0;
}

.wte-autocomplete-item.parent {
    background: #f6f7f7;
}

/* .order-status.wc-pending {
	background: #fff8e5;
    color: #dba617;
} */

.text-success {
    background-color: #ecf8f0;
    color: #0a6b2d;
    border: 1px solid #d4edda;
}

.loader-cart-message{
    background-color: rgba(255, 255, 255, 0.5);
    position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
}

.loader-cart-message .cart-message span{
    font-size: 15px;
    font-weight: bold;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.eticket-list {
	display: flex;
	justify-content: center;
	align-items: center;
}

.eticket-link {
	border-radius: 5px;
    text-align: center;
	color: #666;
	padding: 4px 10px 4px 10px;
    display: block;
	font-weight: bold;
    text-decoration: none !important;
	background: rgba(255, 255, 255, 0.98);
    border: 1px dotted #666;
	margin: 0px 5px;
}

.eticket-link:hover {
	background: #f0f0f0;
	border: 1px solid #2271b1;
}

.wte-etickets-title {
	font-size: 14px;
    font-weight: bold;
    color: #666;
}

.list-ticket-order-edit {
    max-height: 450px;
    overflow: scroll;
    padding-bottom: 20px;
	padding-top: 20px;
	padding-right: 10px;
}

a.remove.e-selected::before {
    /* color: red; */
    content: "\f1f8";
}

a.remove.e-selected:hover::before {
    color: red;
}

@media ( max-width: 768px ) {
    .wte-notifications-container.topRight,
    .wte-notifications-container.topLeft,
    .wte-notifications-container.bottomRight,
    .wte-notifications-container.bottomLeft {
        /* left: 8px;
        right: 8px; */
        left: 0px;
        right: 0px;
        width: calc(100% - 16px);
    }
    
    .wte-notifications-container.topCenter,
    .wte-notifications-container.bottomCenter {
        left: 8px;
        transform: none;
        width: calc(100% - 16px);
    }

    a.remove.e-selected {
        position: relative !important;
        background: none !important;
        right: -7px !important;
    }

    td.product-remove {
        border-radius: 0 !important;
        background: none !important;
    }

    td.product-remove::before {
        content: none !important;
    }
}

.wte-help-note {
    padding: 20px;
    border-radius: 12px;
}

.wte-help-note.warning {
    background: #fef3c7;
    border: 1px solid #fbbf24;
}

.wte-help-note.info {
    background: #dbeafe;
    border: 1px solid #2563eb;
}

.wte-help-note.success {
    background: #dcfce7;
    border: 1px solid #16a34a;
}

.wte-help-note.danger {
    background: #fee2e2;
    border: 1px solid #dc2626;
}

.wte-help-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wte-help-note.warning p {
    color: #92400e;
}

.wte-help-note.success p {
    color: #16a34a;
}

.wte-help-note.danger p {
    color: #dc2626;
}

.wte-help-note.info p {
    color: #2563eb;
}

.wte-conversion-rate {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.wte-conversion-rate.excellent {
    background: #d4edda;
    color: #155724;
}

.wte-conversion-rate.very-good {
    background: #cce5ff;
    color: #1677FF;
}

.wte-conversion-rate.good {
    background: #d9d9d9;
    color: #000;
}

.wte-conversion-rate.average {
    background: #fff3cd;
    color: #856404;
}

.wte-conversion-rate.low {
    background: #f8d7da;
    color: #721c24;
}

.wte-sortable.active {
    border-left: 1px solid #c3c4c7;
    border-right: 1px solid #c3c4c7;
}

.wte-sortable.active.desc,
.wte-sortable.active.asc {
    background: #f6f8fa;
}

.wte-sortable.active.desc::after {
    content: '↓';
    margin-left: 5px;
}

.wte-sortable.active.asc::after {
    content: '↑';
    margin-left: 5px;
}

.wte-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    background: #ff0844;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    /* animation: pulse-glow 2s ease-in-out infinite; */
}

.wte-discount-badge-icon {
    font-size: 16px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.wte-discount-badge-text-only {
    padding: 6px 14px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
        transform: scale(1.02);
    }
}

.wte-discount-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wte-modal-trigger {
    cursor: pointer;
}

.cart-drawer-info .wte-notification {
    padding: 15px 20px !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    display: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    transform: translateX(0);
	/*box-shadow: 0px 0px 15px 5px #aaa !important;*/
}

.cart-drawer-info .wte-notification.success {
    border-left: 4px solid #4CAF50;
    border-right: 1px solid #4CAF50;
    border-top: 1px solid #4CAF50;
    border-bottom: 1px solid #4CAF50;
    /* border: 1px solid #4CAF50; */
    /* color: #4CAF50; */
    /* background-color: rgba(44, 227, 38, 0.18); */
}

.cart-drawer-info .wte-notification.error {
    border-left: 4px solid #f44336;
    border-right: 1px solid #f44336;
    border-top: 1px solid #f44336;
    border-bottom: 1px solid #f44336;
    /* border: 1px solid #f44336; */
    /* color: #f44336; */
    /* background-color: rgba(227, 44, 44, 0.18); */
}

.cart-drawer-info .wte-notification.warning {
    border-left: 4px solid #f4c836;
    border-right: 1px solid #f4c836;
    border-top: 1px solid #f4c836;
    border-bottom: 1px solid #f4c836;
    /* border: 1px solid #f44336; */
    /* color: #f44336; */
    /* background-color: rgba(227, 44, 44, 0.18); */
}

@media ( max-width: 768px ) {
    .cart-drawer-info .wte-notification {
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .cart-drawer-info .wte-notifications-container {
        right: 10px;
        left: 6px;
        width: auto;
        bottom: 140px;
    }
}

.show-tooltip {
    cursor: pointer;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin {
    -moz-appearance: textfield;
}