.ups-search-form {
    text-align: center;
    margin-bottom: 40px;
}
.ups-search-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
#ups-search-input {
    padding: 15px 20px;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    border: 3px solid #f1c40f;
    border-radius: 8px;
    background: #fff;
    color: #2c3e50;
    min-width: 300px;
    max-width: 500px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
}
#ups-search-input:focus {
    border-color: #f39c12;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
    transform: translateY(-2px);
}
#ups-search-input::placeholder {
    color: #95a5a6;
    text-transform: none;
    font-weight: 400;
}
#ups-search-btn {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}
#ups-search-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}
#ups-search-btn:active {
    transform: translateY(0);
}
/* Loader Styles */
.ups-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}
.ups-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f1c40f;
    border-top: 4px solid #2c3e50;
    border-radius: 50%;
    animation: ups-spin 1s linear infinite;
}
@keyframes ups-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.ups-loader p {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}
/* Results Styles */
#ups-results-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}
#ups-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.ups-result-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.ups-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #f1c40f;
}
.ups-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1c40f, #f39c12);
}
.ups-plate-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.ups-plate-number {
    background: #f1c40f;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}
.ups-plate-price {
    font-size: 18px;
    font-weight: 600;
    color: #27ae60;
}
.ups-plate-price::before {
    content: '£';
}
.ups-view-btn {
    width: 100%;
    padding: 12px 20px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.ups-view-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}
.ups-view-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.ups-view-btn .ups-btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: ups-spin 1s linear infinite;
    margin-right: 10px;
}
.ups-view-btn.loading .ups-btn-loader {
    display: inline-block;
}
.ups-view-btn.loading .ups-btn-text {
    opacity: 0.7;
}
/* View More Button */
.ups-view-more-container {
    text-align: center;
    margin: 20px 0;
}
.ups-view-more-btn {
    padding: 15px 40px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ups-view-more-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}
.ups-view-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.ups-view-more-btn .ups-btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: ups-spin 1s linear infinite;
}
.ups-view-more-btn.loading .ups-btn-loader {
    display: inline-block;
}
.ups-view-more-btn.loading .ups-btn-text {
    opacity: 0.7;
}
.ups-view-more-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.ups-view-more-btn:hover::after {
    transform: translateX(3px);
}
/* Pattern Section */
.ups-pattern-section {
    margin-bottom: 40px;
    border: 1px solid #ecf0f1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.ups-pattern-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ecf0f1;
    font-weight: 600;
    color: #2c3e50;
    font-size: 18px;
}
.ups-pattern-results {
    padding: 20px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .ups-search-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    #ups-search-input {
        min-width: auto;
        margin-bottom: 10px;
        font-size: 20px;
    }
    
    #ups-search-btn {
        width: 100%;
        font-size: 16px;
    }
    
    #ups-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ups-result-item {
        padding: 15px;
    }
    
    .ups-plate-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .ups-plate-number {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    #ups-results-title {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    #ups-search-container {
        padding: 15px;
    }
    
    #ups-search-input {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .ups-plate-number {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .ups-result-item {
        padding: 12px;
    }
}
/* Animation for new results */
@keyframes ups-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.ups-result-item.ups-new {
    animation: ups-fadeInUp 0.5s ease forwards;
}
/* Error and Empty States */
.ups-error-message,
.ups-empty-message {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-size: 16px;
}
.ups-error-message {
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}
.ups-empty-message {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}