.price-checker-body {
    background: #0f172a;
    font-family: Arial, Helvetica, sans-serif;
}

.price-checker-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checker-card {
    background: white;
    width: 700px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.title {
    font-size: 40px;
    margin-bottom: 30px;
}

#barcode_input {
    width: 100%;
    font-size: 28px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ccc;
    text-align: center;
}

.product-area {
    margin-top: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.product-area img {
    width: 200px;
    border-radius: 10px;
}

.info {
    text-align: left;
}

#product_name {
    font-size: 28px;
    margin-bottom: 10px;
}

#product_price {
    font-size: 40px;
    color: #16a34a;
    font-weight: bold;
}

#product_uom {
    font-size: 20px;
    color: gray;
}

.not-found {
    margin-top: 25px;
    font-size: 26px;
    color: red;
    display: none;
}

/* Horizontal Kanban Card Styles - Ultra Compact Version */
.product-card-horizontal {
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 3px solid #28a745;
    overflow: hidden;
    min-height: 60px;
}

.product-card-horizontal:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

.product-row-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-image-wrapper img {
    transition: transform 0.3s;
}

.product-card-horizontal:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.price-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.product-card-horizontal .card-body {
    border-right: 1px solid #e9ecef;
}

.product-card-horizontal .card-title {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-horizontal .card-text {
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card-horizontal {
        min-height: 55px;
    }
    
    .product-image-wrapper {
        min-height: 55px !important;
    }
    
    .product-card-horizontal .col-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .product-card-horizontal .col-7 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .product-card-horizontal .col-3:last-child {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .price-section h6 {
        font-size: 0.8rem !important;
    }
    
    .card-title {
        font-size: 0.8rem !important;
    }
    
    .card-text {
        font-size: 0.7rem !important;
    }
}

/* ------------------------------------------- */
/* OU Selection Page CSS (Standalone) */
/* ------------------------------------------- */

body.ou-select-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #0f172a;
    font-family: 'Outfit', sans-serif;
    color: #f8fafc;
    overflow: hidden;
    flex-direction: column;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.ou-container {
    width: 90%;
    max-width: 1400px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    max-height: 90vh;
}

.ou-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #38bdf8, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ou-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.ou-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    overflow-y: auto;
    padding-right: 1rem;
}

@media (max-width: 1200px) {
    .ou-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .ou-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ou-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ou-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ou-btn:hover {
    background: rgba(59, 130, 246, 0.5);
    border-color: #38bdf8;
    transform: translateY(-3px);
}