/* Lumise Digitized Logos - Frontend Styles */

.lumise-digitized-logos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid Layout */
.lumise-logos-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 20px !important;
    justify-items: center !important;
}

/* Logo Cards */
.logo-item {
    width: 200px !important;
    height: 200px !important;
    padding: 12px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Thumbnails */
.logo-thumbnail {
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.logo-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
}

/* Logo Info */
.logo-info {
    text-align: center !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.logo-actions {
    margin-top: auto !important;
}

.logo-actions .view-logo {
    padding: 6px 12px !important;
    font-size: 12px !important;
    background: #007cba !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.logo-info h4 {
    margin: 0 0 2px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.logo-info .category {
    margin: 0 !important;
    font-size: 10px !important;
    color: #666 !important;
}

.lumise-digitized-logos-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.no-logos {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
    justify-items: center;
}

.logo-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.logo-thumbnail {
    text-align: center;
    margin-bottom: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.logo-info h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.logo-category {
    color: #666;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.logo-price {
    color: #007cba;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.logo-actions {
    display: flex;
    gap: 10px;
}

.logo-actions .button {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-actions .button:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.logo-actions .view-logo {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.logo-actions .view-logo:hover {
    background: #005a87;
    border-color: #005a87;
}

.modal-category,
.modal-price {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.modal-price {
    color: #007cba;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .lumise-digitized-logos-container {
        padding: 15px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .logo-actions {
        flex-direction: column;
    }
    
    .logo-actions .button {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
}
