.wc-quick-order-container {
    margin: 20px 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 3px;
}

.wc-quick-order-container h2 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.5em;
}

.wc-quick-order-search {
    display: flex;
    margin-bottom: 25px;
    gap: 10px;
    align-items: center;
    max-width: 800px;
}

.wc-quick-order-search input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    min-width: 300px;
}

.wc-quick-order-search button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.wc-quick-order-search button:hover {
    background-color: #555;
}

.wc-quick-order-results {
    overflow-x: auto;
}

.wc-quick-order-results table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.wc-quick-order-results th {
    background-color: #f8f8f8;
    font-weight: 600;
    text-align: left;
}

.wc-quick-order-results th, 
.wc-quick-order-results td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.wc-quick-order-results tr:hover td {
    background-color: #f9f9f9;
}

.wc-quick-order-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.wc-quick-order-pagination button {
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.wc-quick-order-pagination button:hover {
    background-color: #f5f5f5;
}

.wc-quick-order-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-thumbnail img {
    width: 50px;
    height: auto;
    border-radius: 2px;
}

.product-actions {
    white-space: nowrap;
}

.product-actions input.quantity {
    width: 60px;
    padding: 8px;
    margin-right: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.product-actions .add-to-cart {
    padding: 8px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-actions .add-to-cart:hover {
    background-color: #3e8e41;
}

.wc-quick-order-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: wc-spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes wc-spin {
    to { transform: rotate(360deg); }
}

.loading {
    color: #777;
    text-align: center;
    padding: 20px !important;
}

#wc-quick-order-search-button.loading {
    position: relative;
    color: transparent;
}

#wc-quick-order-search-button.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: wc-spin 1s ease-in-out infinite;
}