/* Custom styles for the PDF Brochure Generator */

/* Improve the visibility of the form */
.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Make the preview section more noticeable */
#preview-section {
    border: 1px solid var(--bs-gray-600);
}

/* Style for the product image in preview */
#product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Gallery thumbnails styling */
#gallery-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

#gallery-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Style the technical specifications table */
.tech-specs-table {
    width: 100%;
    margin-bottom: 1rem;
}

.tech-specs-table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.tech-specs-table td {
    padding: 0.5rem;
}

.tech-specs-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Brand logo styling */
#brand-logo img {
    max-height: 40px;
    max-width: 100px;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#loading .spinner-border {
    animation: pulse 1.5s infinite ease-in-out;
}
