/* Repeat Order Blocker Styles */
.repeat-order-error {
    color: #e2401c;
    font-size: 0.875em;
    margin-top: 0.5em;
    padding: 8px 12px;
    background-color: rgba(226, 64, 28, 0.1);
    border-left: 3px solid #e2401c;
    border-radius: 3px;
}

.repeat-order-blocked {
    border-color: #e2401c !important;
    box-shadow: 0 0 2px 1px rgba(226, 64, 28, 0.3) !important;
}

.repeat-order-loader {
    color: #636363;
    font-style: italic;
    font-size: 0.875em;
    margin-left: 10px;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
} 

/* Repeat Order Blocker Popup Styles */
.orderguard-repeat-order-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    backdrop-filter: blur(5px);
}

.orderguard-repeat-order-popup-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.orderguard-repeat-order-popup-content h2 {
    color: #e2401c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.orderguard-repeat-order-popup-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.repeat-order-warning {
    color: #e2401c;
    font-weight: 500;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(226, 64, 28, 0.1);
    border-radius: 0.5rem;
}

.repeat-order-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.orderguard-repeat-order-close {
    background: #e2401c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.orderguard-repeat-order-close:hover {
    background: #c51c06;
    transform: translateY(-1px);
}

.orderguard-repeat-order-call {
    background: #2563eb;
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.orderguard-repeat-order-call:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    color: white !important;
}

.orderguard-repeat-order-call .dashicons {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
} 